From 4931c70884c7aa7bb3d4fba927597a2f89b4c9b0 Mon Sep 17 00:00:00 2001 From: Hao Chen Date: Mon, 13 May 2019 11:52:24 -0500 Subject: reorg page layout --- templates/index.html | 24 ++++++++---------------- templates/layout.html | 23 ++++++++++++++++++++--- templates/topAddictionGene.html | 8 +++++++- 3 files changed, 35 insertions(+), 20 deletions(-) (limited to 'templates') diff --git a/templates/index.html b/templates/index.html index 0771787..b94853e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,26 +1,18 @@ {% extends "layout.html" %} {% block content %} -

-
{{ message | safe }} -

- - -
-
+ +

Relationship with Addiction Through Searches of PubMed +

+ + This app searches PubMed to find sentences that contain the query terms (e.g., gene symbols) and keywords related to drug addiction. -


-Searches are conducted through PubMed to get relevant PMIDs, which are then used to retrieve the abstracts from a local archive. The gene-keyword relationships are presented as an interactive cytoscape graph. The nodes can be moved to better reveal the connections. Tap on the links will bring up the corresponding sentences in a new browser window. -

- -

- +

+ +

- -
- Source code {% endblock %} diff --git a/templates/layout.html b/templates/layout.html index 43ebee0..08977c3 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -13,13 +13,30 @@ - +
+
{% block content %}{% endblock %}
diff --git a/templates/topAddictionGene.html b/templates/topAddictionGene.html index 0608378..5709bba 100644 --- a/templates/topAddictionGene.html +++ b/templates/topAddictionGene.html @@ -1,8 +1,13 @@ {% extends "layout.html" %} {% block content %} - +

Top 150 addiction related genes

+
+These genes are ranked by the number of PubMed abstracts that contain the name of the gene and one or more addiction related keyword. +
+ +
  1. FOS
  2. BDNF
    @@ -154,5 +159,6 @@
  3. GRM7
  4. GRIA2
  5. DNMT1
    +
{% endblock %} -- cgit v1.2.3