aboutsummaryrefslogtreecommitdiff
path: root/templates/genenames.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/genenames.html')
-rw-r--r--templates/genenames.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/templates/genenames.html b/templates/genenames.html
new file mode 100644
index 0000000..323f339
--- /dev/null
+++ b/templates/genenames.html
@@ -0,0 +1,32 @@
+{% extends "layout.html" %}
+{% block content %}
+<br>
+
+<h2> {{gene}} </h2>
+<hr>
+<h4>Relationship with top addiction genes</h4>
+<ul><li><a href=" /startGeneGene?forTopGene=+ {{gene}}" >{{gene}} vs top addiction genes </a> </ul>
+
+<h4>Synonyms</h4>
+<p>The following synonyms are found in the database. You can follow the links to search individual names or all of them at once.
+<br>
+<b>Warning:</b> Synonyms, especially short ones, may match other genes or words that are not gene names.
+
+<br>
+<ul>
+ <li> <a href=http://rats.pub/progress?type=GWAS&type=addiction&type=drug&type=brain&type=stress&type=psychiatric&type=function&query={{synonym_list_str}}>Search all synonyms </a>
+{%if case == 1%}
+ {%for syn in synonym_list%}
+
+ <li> <a href=http://rats.pub/progress?type=GWAS&type=addiction&type=drug&type=brain&type=stress&type=psychiatric&type=function&query={{syn}}>{{syn.replace("-", " ")}}</a>
+ {%endfor%}
+</ul>
+ <br>
+{%else%}
+ No synonym for {{gene}} is found.
+{%endif%}
+<br>
+{% endblock %}
+
+
+