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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
|
{%extends "populations/base.html"%}
{%from "macro-step-indicator.html" import step_indicator%}
{%from "populations/macro-display-population-card.html" import display_sui_population_card%}
{%block contents%}
<div class="row">
<h2 class="heading">Population: {{population.FullName}} ({{population.Name}})</h2>
</div>
<div class="row">
<ul class="nav nav-tabs" id="population-actions">
<li class="nav-item presentation">
<button class="nav-link"
id="samples-tab"
data-bs-toggle="tab"
data-bs-target="#samples-content"
type="button"
role="tab"
aria-controls="samples-content"
aria-selected="true">Samples</button></li>
<li class="nav-item presentation">
<button class="nav-link active"
id="phenotypes-tab"
data-bs-toggle="tab"
data-bs-target="#phenotypes-content"
type="button"
role="tab"
aria-controls="phenotypes-content"
aria-selected="false">Phenotypes</button></li>
{%if view_under_construction%}
<li class="nav-item presentation">
<button class="nav-link"
id="genotypes-tab"
data-bs-toggle="tab"
data-bs-target="#genotypes-content"
type="button"
role="tab"
aria-controls="genotypes-content"
aria-selected="false">Genotypes</button></li>
<li class="nav-item presentation">
<button class="nav-link"
id="expression-data-tab"
data-bs-toggle="tab"
data-bs-target="#expression-data-content"
type="button"
role="tab"
aria-controls="expression-data-content"
aria-selected="false">Expression-Data</button></li>
{%endif%}
</ul>
</div>
<div class="row">
<div class="tab-content" id="populations-tabs-content">
<div class="tab-pane fade"
id="samples-content"
role="tabpanel"
aria-labelledby="samples-content-tab">
<p>Think of a <strong>"sample"</strong> as say a single case or individual
in the experiment. It could even be a single strain (where applicable).
These are, effectively, identifiers for the organisms (plants, animals,
etc) that your data is collected from, and is about.
</p>
<p>The samples should be uploaded before any of the other types of data
(genotype, phenotype, expression, etc.), or be bundled together with
them, since they all need references to the samples.</p>
<a href="{{url_for('species.populations.samples.list_samples',
species_id=species.SpeciesId,
population_id=population.Id)}}"
title="View and upload samples for population '{{population['Name']}}'"
class="btn btn-primary">manage samples</a>
</div>
<div class="tab-pane fade show active"
id="phenotypes-content"
role="tabpanel"
aria-labelledby="phenotypes-content-tab">
<div class="row" style="margin-top: 1em;">
<p>Phenotype data measures the actual observable traits or
characteristics of an organism e.g. physical appearance, biochemical
properties, development, behaviour and/or disease states.</p>
<p>This section enables you to view existing and/or upload new phenotype
data.</p>
<div class="row">
<div class="col">
<a href="{{url_for(
'species.populations.phenotypes.list_datasets',
species_id=species.SpeciesId,
population_id=population.Id)}}"
title="View and upload phenotype traits"
class="btn btn-primary">manage phenotypes</a>
</div>
</div>
</div>
</div>
<div class="tab-pane fade"
id="genotypes-content"
role="tabpanel"
aria-labelledby="genotypes-content-tab">
<p>Genotype data records specific genetic variations (e.g. single
nucleotide polymorphisms (SNPs)) present at particular locations in an
individual's (see "Samples" section) DNA.</p>
<p>Click the button below to view existing and/or upload new genotype data
for this population.</p>
<a href="{{url_for('species.populations.genotypes.index',
species_id=species.SpeciesId,
population_id=population.Id)}}"
title="Upload genotype information for the '{{population.FullName}}' population of the '{{species.FullName}}' species."
class="btn btn-primary">manage genotypes</a>
</div>
<div class="tab-pane fade" id="expression-data-content" role="tabpanel" aria-labelledby="expression-data-content-tab">
<p>Expression data is data measuring how much genes are turned on or active.</p>
<a href="#" title="" class="btn btn-primary">manage expression data</a>
</div>
</div>
</div>
{%endblock%}
{%block sidebarcontents%}
<div class="row">
<p>Each tab presents a feature that's available at the population level.
Select the tab that allows you to continue with your task.</p>
</div>
{{super()}}
{%endblock%}
{%block javascript%}
{%endblock%}
|