aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/metadata/dataset.html
blob: 06df6a68a31bd650b33dc4363e8527939265783a (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
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<header class="page-header text-justify">
    <h1>
	{% if dataset.title or dataset.label or dataset.altLabel %}
	{{ dataset.title or dataset.label or dataset.altLabel }}
	{% if dataset.title != dataset.altLabel and dataset.label != dataset.altLabel %}
	<br/>
        <small>({{ dataset.altLabel }})</small>
	{% endif %}
	{% else %}
        {{ name }}
        {% endif %}
    </h1>
</header>

<div class="container dataset-content">
    <div class="panel-about panel panel-info panel-metadata text-muted">
        <div class="panel-heading">
	    <strong>
		<span class="glyphicon glyphicon-info-sign aria-hidden=true"></span>
		Details
	    </strong>
	    {% if dataset.accessionId %}
	    <small>
		<a href="https://gn1.genenetwork.org/webqtl/main.py?FormID=sharinginfo&GN_AccessionId={{ dataset.accessionId.split('GN')[-1] }}" target="_blank">(GN1 Link)</a>
	    </small>
	    {% endif %}
	</div>
        <div class="panel-body">
            <dl class="dl-horizontal">
		{% if dataset.label != dataset.altLabel and dataset.label != dataset.title %}
		<dt>Name</dt>
		<dd> {{ dataset.label }} </dd>
		{% endif %}
                {% if dataset.created %}
		<dt>Created</dt>
		<dd>{{ dataset.created }}</dd>
		{% endif %}
                {% if dataset.inbredSet %}
		<dt>Group</dt>
		<dd>{{ dataset.inbredSet.label}}</dd>
		{% endif %}

		{% if dataset.accessionId %}
		<dt>Accession Id</dt>
		<dd>{{ dataset.accessionId}}</dd>
		{% endif %}

                {% if dataset.hasGeoSeriesId %}
		<dt>GEO Series</dt>
		<dd>
		    <a href="{{ dataset.geoSeriesId }}" target="_blank">{{ dataset.geoSeriesId.split("=")[-1] }}</a>
		</dd>
		{% endif %}

                {% if dataset.tissue %}
		<dt>Tissue</dt>
		<dd>{{ dataset.tissue.label }}</dd>
		{% endif %}

		{% if dataset.platform %}
		<dt>Platforms</dt>
		<dd>
		    {{ dataset.platform.label }}
		    [<a href="{{ dataset.platform.id}}" target="_blank">
		    {{ dataset.platform.prefLabel}}
		    </a>]
		</dd>
		{% endif %}

                {% if dataset.normalization %}
		<dt>Normalization</dt>
		<dd>{{ dataset.normalization.label }}</dd>
		{% endif %}

                {% if dataset.contactPoint %}
                <dt>Investigator</dt>
                <dd>
		    {% if dataset.contactPoint.contactWebUrl %}
		    <a href="{{ dataset.contactPoint.contactWebUrl }}" target="_blank">
			{{ dataset.contactPoint.contactName }}
		    </a>
		    {% else %}
		    {{ dataset.contactPoint.contactName }}
		    {% endif %}
                </dd>
                {% endif %}

		{% if dataset.organization %}
		<dt>Organization</dt>
		<dd>{{ dataset.organization }}</dd>
		{% endif %}
            </dl>
	</div>
    </div>

    <div class="container row dataset-metadata">
	{% if dataset.description %}
        <div>{{ dataset.description|safe }}</div>
        {% endif %}

	{% if dataset.specificity %}
	<h2><strong>Specifics of this Dataset</strong></h2>
	<div>{{ dataset.specificity }}</div>
	{% endif %}

	{% if dataset.experimentDesignInfo %}
        <h3><strong>Experiment Design</strong></h3>
        <div>{{ dataset.experimentDesignInfo|safe }}</div>
        {% endif %}

	{% if dataset.caseInfo %}
        <h3><strong>About the Cases Used to Generate this Dataset:</strong></h3>
        <div>{{ dataset.caseInfo|safe }}</div>
        {% endif %}

	{% if dataset.tissue %}
        <h3><strong>About the Tissue
	    {%if dataset.tissue and dataset.tissue.label  %}({{ dataset.tissue.label }})
	    {% endif %}Used to Generate this Dataset</strong></h3>
        <div>{{ dataset.tissue.tissueInfo|safe }}</div>
        {% endif %}

        {% if dataset.platform %}
        <h3 title="{{ dataset.platform.label }}"><strong>About the Array Platform</strong></h3>
        <div>{{ dataset.platform.platformInfo|safe }}</div>
        {% endif %}

        {% if dataset.processingInfo %}
        <h3><strong>About Data Values and Data Processing</strong></h3>
        <div>{{ dataset.processingInfo|safe }}</div>
        {% endif %}

	{% if dataset.notes %}
        <h3><strong>Notes</strong></h3>
        <div>{{ dataset.notes|safe }}</div>
        {% endif %}

	{% if dataset.citation|trim %}
        <h3><strong>Citation</strong></h3>
        <div>{{ dataset.citation|safe}}</div>
        {% endif %}

	{% if dataset.acknowledgement|trim %}
        <h3><strong>Acknowledgment</strong></h3>
        <div>{{ dataset.acknowledgement|safe}}</div>
        {% endif %}

        {% if dataset.contributors %}
	<h3><strong>Contributors</strong></h3>
	<div>{{ dataset.contributors|safe }}</div>
	{% endif %}
    </div>

</div>

</div>