1 {% extends "base_site.html" %}
2 {% load adminmedia humanize i18n %}
5 <link type="text/css" rel="stylesheet" href="/static/css/app.css" />
6 <script type="text/javascript" src="/static/js/jquery.min.js"></script>
8 {% block additional_javascript %}
11 <style type="text/css">
17 div#librarydetail table, div#librarydetail td {
20 div#librarydetail table {
21 border-width: 0 0 1px 1px;
23 border-collapse: collapse;
25 div#librarydetail td {
28 border-width: 1px 1px 0 0;
30 div#librarydetail thead {
33 div#librarydetail tbody {
42 div#librarydetail h3 {
67 <div id="librarydetail">
68 <h2>About this library</h2>
69 <b>Library ID</b>: {{ lib.id }}<br/>
71 <span property="libns:name">{{ lib.library_name }}</span>
74 <span property="libns:species">{{ lib.library_species.scientific_name }}</span>
77 <span property="libns:concentration">{{ lib.undiluted_concentration }} ng/µl</span>
80 <span property="libns:gel_cut">{{ lib.gel_cut_size }}</span>
83 <span property="libns:insert_size">{{ lib.insert_size }}</span>
85 <b>Background or Cell Line</b>:
86 <span property="libns:cell_line">{{ lib.cell_line }}</span>
89 <span property="libns:replicate">{{ lib.replicate }}</span>
92 <span property="libns:library_type">{{ lib.library_type }}</span>
94 <b>Experiment Type</b>:
95 <span property="libns:experiment_type">{{ lib.experiment_type }}</span>
98 <span property="libns:made_by">{{ lib.made_by }}</span>
101 <span property="libns:date" content="{{lib.creation_date|date:'Y-m-d'}}T00:00:00" datatype="xsd:dateTime">{{ lib.creation_date }}</span>
103 <b>Protocol Stopping Point</b>
104 <span property="libns:stopping_point">{{ lib.stopping_point_name }}</span>
108 {% for individual in lib.affiliations.all %}
109 <li property="libns:affliation" content="{{individual.name}}">
110 {{ individual.name }} ( {{ individual.contact }} )
115 <h2>Raw Result Files</h2>
119 <td>Run Start Date</td>
130 {% for result in eland_results %}
131 <tr about="/flowcell/{{result.flowcell_id}}/lane/{{result.lane}}">
132 <td property="libns:date" content="{{result.run_date|date:'Y-m-d\TH:i:s'}}" datatype="xsd:dateTime">{{ result.run_date|date}}</td>
133 <td>{{ result.cycle }}</td>
134 <td property="libns:flowcell_id">{{ result.flowcell_id }}</td>
135 <td property="libns:lane">{{ result.lane }}</td>
136 <td><a href="{{ result.summary_url }}">Summary</a></td>
137 <td><a href="{{ result.result_url }}">{{ result.result_label }}</a></td>
139 {% if result.bed_url %}
140 <a href="{{ result.bed_url }}">Bed</a>
144 {% if result.storage_ids %}
145 {{ result.storage_ids|safe }}
153 <h2>Lane Summary Statistics</h2>
154 {% block summary_stats %}
158 <td colspan="7"></td>
159 <td colspan="2">No Match</td>
160 <td colspan="2">QC Failed</td>
161 <td colspan="4">Unique</td>
162 <td colspan="4">Repeat</td>
169 <td>Cluster / Tile</td>
188 {% for lane in lane_summary_list %}
189 <tr about="/flowcell/{{lane.flowcell_id}}/lane/{{lane.lane_id}}/end/{% if lane.end %}{{ lane.end }}{% endif %}">
190 <td>{{ lane.cycle_width }}</td>
191 <td>{{ lane.flowcell_id }}</td>
192 <td>{{ lane.lane_id }}</td>
193 <td>{% if lane.end %}{{ lane.end }}{% endif %}</td>
194 <td>{{ lane.clusters.0|intcomma }}</td>
195 <td>{{ lane.successful_pm }}</td>
196 <td>{{ lane.reads|intcomma }}</td>
197 <td>{{ lane.no_match|intcomma }}</td>
198 <td>{{ lane.no_match_percent|stringformat:".2f" }}</td>
199 <td>{{ lane.qc_failed|intcomma }}</td>
200 <td>{{ lane.qc_failed_percent|stringformat:".2f" }}</td>
201 <td>{{ lane.match_codes.U0|intcomma }}</td>
202 <td>{{ lane.match_codes.U1|intcomma }}</td>
203 <td>{{ lane.match_codes.U2|intcomma }}</td>
204 <td {% if lane.unique_reads %}property="libns:total_unique_locations" content="{{lane.unique_reads}}" datatype="xsd:decimal"{% endif %}>{{ lane.unique_reads|intcomma }}</td>
205 <td>{{ lane.match_codes.R0|intcomma }}</td>
206 <td>{{ lane.match_codes.R1|intcomma }}</td>
207 <td>{{ lane.match_codes.R2|intcomma }}</td>
208 <td>{{ lane.repeat_reads|intcomma }}</td>
214 <h2>Flowcell Notes</h2>
224 {% for lane in lib.lane_set.all %}
226 <td>{{ lane.flowcell.flowcell_id }}</td>
227 <td>{{ lane.lane_number }}</td>
228 <td>{{ lane.comment }}</td>
235 <h2>Count of multi-reads</h2>
236 {% for lane in lane_summary_list %}
237 {% if lane.summarized_reads %}
239 {{lane.cycle_width}} {{ lane.flowcell_id }} lane {{ lane.lane_id }}
240 {% if lane.end %} end {{ lane.end }}{% endif %}
243 {% for name, counts in lane.summarized_reads.items %}
244 <li><b>{{ name }}</b>: {{ counts|intcomma }}</li>