aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html
blob: 01521842d3e4cf4dd915db3402d9926bd6e72e97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{% extends "layout.html" %}
{% block content %}
{{ message | safe }}

<h3> <u>R</u>elationship with <u>A</u>ddiction <u>T</u>hrough <u>S</u>earches of <u>Pub</u>Med </span></a>
</h3>
<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> Data from <a href="https://www.ebi.ac.uk/gwas/">EBI GWAS catalog </a>are also included in the search.  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. A tabular view is also available. </b>
		<p>Up to 100 gene symbols can be entered in the box below. Gene symbols can be separated by either a space or a semicolon. Aliases will <i>not</i> be automatically included because the large number of false matches associated with gene synonyms retrieved from databases. 
		<b>	{%if "name" in session %}
				{{session['name']}}, your previous searches are <a href="/userarchive">archived </a> for faster retrival.</a>
			{% else %}
				Please sign in to save your searches.
			{% endif %}
		</b>
		</td>
		<td >
			<div class='img'><img src="/static/ratspub.png" class="img-fluid">
		</td>
	</tr>
</table>
	<a>
		<b> Example: </b><a href=http://rats.pub/progress?type=GWAS&type=addiction&type=drug&type=brain&type=stress&type=psychiatric&type=function&query=Rgma+Nrxn3+Chrna3>Rgma Nrxn3 Chrna3</a><p> 
	<form action="/progress">
		<div class="form-group row">
			<div class="col-sm-10">
				<strong>Please choose keyword categories to be included in the search:</strong>
				<label>
				<input type="checkbox" name="type" value="GWAS" checked> Human GWAS 	
				<input type="checkbox" name="type" value="addiction" checked> Addiction Stage 				
				<input type="checkbox" name="type" value="drug" checked> Drugs		
				<input type="checkbox" name="type" value="brain" checked> Brain Region				
				<input type="checkbox" name="type" value="stress" checked> Stress				
				<input type="checkbox" name="type" value="psychiatric" checked> Psychiatric Diseases
				<input type="checkbox" name="type" value="function" checked> Function				
				</label>
			</div>
			<textarea name="query" class="form-control form-control-lg" type="search" row="3" id="searchform">
			</textarea>
			<button type="submit" class="btn btn-primary">Search</button>
		</div>
	</form>
{% endblock %}