aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorHao Chen2019-05-20 05:47:50 -0500
committerHao Chen2019-05-20 05:47:50 -0500
commitd87ecb28847fc6c3d8b93673f1f0371b77ee22ee (patch)
tree8d1404e617fcffc7c4264cf6db3459e790829c46 /templates
parentd883f2e9e6151d0bc5c1e25924253221312b4959 (diff)
downloadgenecup-d87ecb28847fc6c3d8b93673f1f0371b77ee22ee.tar.gz
add EBI GWAS
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html4
-rw-r--r--templates/progress.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/index.html b/templates/index.html
index f5b6aea..bbdebfa 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -8,9 +8,9 @@
<table>
<tr><td >
<p>
- RatsPub searches PubMed to find <i>sentences</i> that contain the query terms (i.e., gene symbols) and <a href="https://github.com/chen42/RatsPub/blob/master/ratspub_keywords.py">drug addiction-related keywords</a>. These gene-keyword relationships are presented as an interactive graph that can efficiently answer the question <b>"What do we know about these genes and addiction?" </b>
+ RatsPub searches PubMed to find <i>sentences</i> that contain the query terms (i.e., gene symbols) and <a href="https://github.com/chen42/RatsPub/blob/master/ratspub_keywords.py">drug addiction-related keywords</a>. These gene-keyword relationships are presented as an interactive graph that can efficiently answer the question <b>"What do we know about these genes and addiction?". </b> To better answer this question, data from <a href="https://www.ebi.ac.uk/gwas/">EBI GWAS catalog </a>are also included in the search.
-<p> In addition, clicking gene names in the graph will launch a new search for sentences containing the target gene and 200 addiction-related genes. These results help to answer the question <b>"Are there genes that can link my gene of interest to addiction?" </b>
+<p> The graph has many interactive elements. For example, clicking gene names will launch a new search for sentences containing the target gene and 200 addiction-related genes. These results help to answer the question <b>"Are there genes that can link my gene of interest to addiction?" </b>
</td>
<td >
<div class='img'><img src="/static/ratspub.png" class="img-fluid">
diff --git a/templates/progress.html b/templates/progress.html
index 081f1d9..e881a90 100644
--- a/templates/progress.html
+++ b/templates/progress.html
@@ -6,9 +6,9 @@
<script>
-var r = Math.floor(Math.random() * Math.floor(125));
-var g = Math.floor(Math.random() * Math.floor(125));
-var b = Math.floor(Math.random() * Math.floor(125));
+var r = Math.floor(Math.random() * Math.floor(100));
+var g = Math.floor(Math.random() * Math.floor(100));
+var b = Math.floor(Math.random() * Math.floor(100));
document.body.style.backgroundColor = 'rgba('+r+','+g+','+b+',0.1)'
var source = new EventSource("/search");