blob: 1677c466097ea8712a189c18daa096e2d47c7057 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
{% extends "index_page.html" %}
{% block title %}GeneWiki Entry for {{ symbol }}{% endblock %}
{% block content %}
{{ flash_me() }}
<div class = "container">
<h1 class = "page-header">GeneWiki Entries</h1>
<p>
GeneWiki enables you to enrich the annotation of genes and transcripts. Please submit or edit a GeneWiki note (500 characters max) related to a gene, its transcripts, or proteins. When possible include PubMed identifiers or web resource links (URL addresses). Please ensure that the additions will have widespread use. For additional information, check the GeneWiki <a href="https://gn1.genenetwork.org/GeneWikihelp.html" target="_blank">help document</a>.
</p>
<h3>GeneWiki For {{ symbol }}:</h3>
<h5>
<strong>GeneNetwork:</strong>
</h5>
{% if wiki %}
<ol class="list-group">
{% for entry in wiki %}
<li class="list-group-item">
<div class="row">
<div class="col-sm-6">
{{ loop.index }}. {{ entry.get("comment") }}
{% if entry.get("web_url") %}
<sup> <small> <a href = "{{ entry.web_url }}" target = "_blank"> <span class = "glyphicon glyphicon-globe" aria-hidden = "true"></span>web</a></small></sup>
{% endif %}
</div>
<div class="col-sm-2">
{% if is_logged_in %}
<a href="{{ url_for('edit_wiki', comment_id=entry['id']) }}">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
</a>
{% else %}
<a data-toggle="collapse" data-target="#collapseLogin{{ loop.index }}" aria-expanded="false" aria-controls="collapseLogin{{ loop.index }}">
<span class="glyphicon glyphicon-edit" aria-hidden="true"></span>
</a>
<div class="collapse" id="collapseLogin{{ loop.index }}">
<div class="well">
Please login to be able to edit this
</div>
</div>
{% endif %}
<sup><small>[<a href="/genewiki/{{ entry.id }}/history" target="_blank">history</a>]</small></sup>
</div>
</div>
</li>
{% endfor %}
</ol>
{% else %}
<p class = "well">
<u> There are no GeneNetwork entries for <b> {{ symbol }}.</b></u>
</p>
{% endif %}
<h5>
<strong>GeneRIF from NCBI:</strong>
</h5>
{% if rif %}
<ol class="list-group">
{% for entry in rif %}
<li class="list-group-item">
<div class="row">
<div class="col-sm-12">
{{ loop.index }}. {{ entry.get("comment") }}
(<a href="http://www.ncbi.nlm.nih.gov/gene?cmd=Retrieve&dopt=Graphics&list_uids={{ entry.gene_id }}"
target="_blank">{{ entry.species }}</a>)
(<a href="http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?cmd=Retrieve&db=PubMed&list_uids={{ entry.pubmed_id }}&dopt=Abstract"
target="_blank">PubMed</a>)
</div>
</div>
</li>
{% endfor %}
</ol>
{% else %}
<p class = "well">
<u> There are no NCBI RIF entries for this for<b> {{ symbol }}.</b></u>
</p>
{% endif %}
</div>
{% endblock %}
|