aboutsummaryrefslogtreecommitdiff
path: root/templates/genenames.html
diff options
context:
space:
mode:
authorhakangunturkun2020-09-07 22:35:17 -0500
committerhakangunturkun2020-09-07 22:35:17 -0500
commita637889f13c2151303998e411dc81f3196a974f6 (patch)
treef593bb635e759889109504405d2abc3e31af9008 /templates/genenames.html
parent35179dec9aa1926102ad2ddbbd5b8ad2882be92e (diff)
downloadgenecup-a637889f13c2151303998e411dc81f3196a974f6.tar.gz
last version
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 %}
+
+
+