From 204a308be0f741726b9a620d88fbc22b22124c81 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 29 Dec 2023 18:55:37 +0000 Subject: Namespace all modules under gn2. We move all modules under a gn2 directory. This is important for "correct" packaging and deployment as a Guix service. --- gn2/wqflask/templates/generif.html | 101 +++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 gn2/wqflask/templates/generif.html (limited to 'gn2/wqflask/templates/generif.html') diff --git a/gn2/wqflask/templates/generif.html b/gn2/wqflask/templates/generif.html new file mode 100644 index 00000000..ac815b43 --- /dev/null +++ b/gn2/wqflask/templates/generif.html @@ -0,0 +1,101 @@ +{% extends "base.html" %} + +{% block title %} +GeneWiki Entry for {{ symbol }} +{% endblock %} + +{% block css %} + + +{% endblock %} +{% block content %} + + +
+

GeneWiki For {{ symbol }}

+

GeneWiki enables you to enrich the annotation of genes and transcripts.

+ +

+ GeneNetwork + + {{ entries.gn_entries|length if entries.gn_entries[0] else 0 }} + : +

+ {% if entries.gn_entries[0] %} + + + {% else %} + +

There are no GeneNetwork entries for {{ symbol }}.

+ + {% endif %} + +

+ GeneRIF from NCBI + + {{ entries.ncbi_entries|length if entries.ncbi_entries[0] else 0 }} + : +

+ {% if entries.ncbi_entries[0] %} +
    + {% for entry in entries.ncbi_entries %} +
  1. + {{ entry.entry.value }} + ({{ entry["speciesBinomialName"]["value"] }}) + {% if entry.PubMedId.value != "" %} + {% set pmids = entry.PubMedId.value.split(",") %} + (PubMed: {% for id in pmids %} {{ id }}{% endfor %}) + {{ entry.createdOn.value }} + {% endif %} +
  2. + {% endfor %} +
+ {% else %} +

There are no NCBI entries for {{ symbol }}.

+ {% endif %} +
+{% endblock %} -- cgit v1.2.3