about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xwqflask/wqflask/templates/show_trait_details.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/show_trait_details.html b/wqflask/wqflask/templates/show_trait_details.html
index e1780e42..ffedbd5f 100755
--- a/wqflask/wqflask/templates/show_trait_details.html
+++ b/wqflask/wqflask/templates/show_trait_details.html
@@ -29,6 +29,33 @@
     <dt>BLAT Score</dt>
     <dd>{{ "%0.3f" | format(this_trait.probe_set_blat_score|float) }}</dd>
     {% endif %}
+    <dt>Resource Links</dt>
+    {% if this_trait.dataset.type == 'ProbeSet' %}
+    <dd>
+        <a href="http://bioinformatics-dev/Getd2g.pl?gene_list={{ this_trait.symbol }}" target="_blank" title="Related descriptive, genomic, clinical, functional and drug-therapy information">
+            Genotation
+        </a>
+        &nbsp;&nbsp;
+        {% if this_trait.geneid != None %}
+        <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene&cmd=Retrieve&dopt=Graphics&list_uids={{ this_trait.geneid }}" target="_blank" title="Info from NCBI Entrez Gene">
+            Gene
+        </a>
+        &nbsp;&nbsp;
+        {% endif %}
+        {% if this_trait.omim != None %}
+        <a href="http://www.ncbi.nlm.nih.gov/omim/{{ this_trait.omim }}" target="_blank" title="Summary from On Mendelion Inheritance in Man">
+            OMIM
+        </a>
+        &nbsp;&nbsp;
+        {% endif %}
+        {% if this_trait.genbankid != None %}
+        <a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=Nucleotide&cmd=search&doptcmdl=DocSum&term={{ this_trait.genbankid }}" target="_blank" title="Find the original GenBank sequence used to design the probes">
+            GenBank
+        </a>
+        &nbsp;&nbsp;
+        {% endif %}
+    </dd>
+    {% endif %}
 </dl>