blob: 718dd1d3f6817d826062a46962804ef45a6118bc (
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
{%extends "platforms/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%from "species/macro-display-species-card.html" import display_species_card%}
{%block title%}Platforms — List Platforms{%endblock%}
{%block pagetitle%}Platforms — List Platforms{%endblock%}
{%block contents%}
{{flash_all_messages()}}
<div class="row">
<p>View the list of the genetic sequencing platforms that are currently
supported by GeneNetwork.</p>
<p>If you cannot find the platform you wish to use, you can add it by clicking
the "New Platform" button below.</p>
<p><a href="{{url_for('species.platforms.create_platform',
species_id=species.SpeciesId)}}"
title="Create a new genetic sequencing platform for species {{species.FullName}}"
class="btn btn-primary">Create Platform</a></p>
</div>
<div class="row">
<h2>Supported Platforms</h2>
{%if platforms is defined and platforms | length > 0%}
<p>There are {{total_platforms}} platforms supported by GeneNetwork</p>
<div class="row">
<div class="col-md-2" style="text-align: start;">
{%if start_from > 0%}
<a href="{{url_for('species.platforms.list_platforms',
species_id=species.SpeciesId,
start_from=start_from-count,
count=count)}}">
<span class="glyphicon glyphicon-backward"></span>
Previous
</a>
{%endif%}
</div>
<div class="col-md-8" style="text-align: center;">
Displaying platforms {{start_from+1}} to {{start_from+count if start_from+count < total_platforms else total_platforms}} of
{{total_platforms}}
</div>
<div class="col-md-2" style="text-align: end;">
{%if start_from + count < total_platforms%}
<a href="{{url_for('species.platforms.list_platforms',
species_id=species.SpeciesId,
start_from=start_from+count,
count=count)}}">
Next
<span class="glyphicon glyphicon-forward"></span>
</a>
{%endif%}
</div>
</div>
<table class="table">
<thead>
<tr>
<th>#</th>
<th>Platform Name</th>
<th><a href="https://www.ncbi.nlm.nih.gov/geo/browse/?view=platforms&tax={{species.TaxonomyId}}"
title="Gene Expression Omnibus: Platforms section"
target="_blank">GEO Platform</a></th>
<th>Title</th>
</tr>
</thead>
<tbody>
{%for platform in platforms%}
<tr>
<td>{{platform.sequence_number}}</td>
<td>{{platform.GeneChipName}}</td>
<td><a href="https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc={{platform.GeoPlatform}}"
title="View platform on the Gene Expression Omnibus"
target="_blank">{{platform.GeoPlatform}}</a></td>
<td>{{platform.Title}}</td>
</tr>
{%endfor%}
</tbody>
</table>
{%else%}
<p class="text-warning">
<span class="glyphicon glyphicon-exclamation-sign"></span>
There are no platforms supported at this time!</p>
{%endif%}
</div>
{%endblock%}
{%block sidebarcontents%}
{{display_species_card(species)}}
{%endblock%}
|