aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates/blog.html
blob: 8f8ab66eb5edac930f2be0cf15ac71dc35b78e7f (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html>
  {% include 'header.html' %}
  <body>
    {% include 'banner.html' %}
    {% include 'menu.html' %}

    {% if embed %}
    {{ embed|safe }}
    <hr>

    <p>
      Other blog entries:
    </p>

    {% else %}
    {% include 'blurb.html' %}

    <h2>BLOG Entries:</h2>
    {% endif %}

    <section class="blog-entries">
      <div class="blog-table">
        <div class="blog-table-body">
          <div class="blog-table-row">
            <div class="blog-table-cell">
              <a href="/blog?id=using-covid-19-pubseq-part1">Query metadata with SPARQL</a>
            </div>
            <div class="blog-table-cell">
              We fetch sequence data and metadata. We query
              the metadata in multiple ways using SPARQL and onthologies
            </div>
          </div>
          <div class="blog-table-row">
            <div class="blog-table-cell">
              <a href="/blog?id=using-covid-19-pubseq-part3">Submitting a sequence</a>
            </div>
            <div class="blog-table-cell">
              We submit a sequence to the database. In this BLOG we fetch
              a sequence from GenBank and add it to the database.
            </div>
          </div>
          <div class="blog-table-row">
            <div class="blog-table-cell">
              <a href="/blog?id=using-covid-19-pubseq-part4">Modify workflow</a>
            </div>
            <div class="blog-table-cell">
              We modify a workflow to get new output
            </div>
          </div>
          <div class="blog-table-row">
            <div class="blog-table-cell">
              <a href="/blog?id=using-covid-19-pubseq-part5">Modify metadata</a>
            </div>
            <div class="blog-table-cell">
              We modify metadata for all to use! In this BLOG we add a field
              for a creative commons license.
            </div>
          </div>
          <div class="blog-table-row">
            <div class="blog-table-cell">
              <a href="/blog?id=using-covid-19-pubseq-part2">Interacting with Arvados</a>
            </div>
            <div class="blog-table-cell">
              We explore the Arvados command line and API
            </div>
          </div>
        </div>
      </div>
    </section>

    {% include 'footer.html' %}

    <script type="text/javascript">
      let scriptRoot = {{ request.script_root|tojson|safe }}; // examples

      document.addEventListener("DOMContentLoaded", function(){
          var count = fetch("/api/getCount")
              .then((resp) => resp.json())
              .then(function (data) {
                  count = data["sequences"];
                  console.log(count);
                  span = document.getElementById("Counter");
                  txt = document.createTextNode(count);
                  span.appendChild(txt);
              });
      });

    </script>
  </body>

</html>