aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
blob: 31e00414b405283e7cbfec4e0fc8acd4f4c26d22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<!DOCTYPE html>
<html lang='en'>
  <head>
    <meta charset='utf-8'>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <link rel='stylesheet' href='main.css'>
    <title>partial nucleotide identity threshold</title>
  </head>

  <body>
    <h1>partial nucleotide identity threshold</h1>
    <x-pnit-form>
      <form>
        <label for='pni-threshold'>threshold:</label>
        <input id='pni-threshold' name='pni-threshold' type='text' size='5' value='90.5'>%
        <br>
        <label for='strip-chevron'>strip leading chevron (<code>&gt;</code>)</label>
        <input id='strip-chevron' name='strip-chevron' type='checkbox' checked>
        <br>
        <label for='ignore-header'>ignore header line:</label>
        <input id='ignore-header' name='ignore-header' type='checkbox'>
        <br>
        <label for='csv-input'>upload:</label>
        <input id='csv-input' name='csv-input' type='file' accept='text/csv' required>
      </form>

      <button id='csv-download'>download</button>
      <table id='pnit-results'>
        <thead>
          <tr>
            <th>sequence 1</th>
            <th>sequence 2</th>
            <th>identity</th>
          </tr>
        </thead>
        <tbody>
        </tbody>
      </table>
    </x-pnit-form>

    <hr>

    <a href='https://git.spork.org/pnit.git/'>source</a>

    <script type='module' src='./main.mjs'></script>
  </body>
</html>