1 {% extends "flowcell_libraries_app.html" %}
4 {% block additional_css %}
5 <style type="text/css">
7 div#librarydetail table, div#librarydetail td {
10 div#librarydetail table {
11 border-width: 0 0 1px 1px;
13 border-collapse: collapse;
15 div#librarydetail td {
18 border-width: 1px 1px 0 0;
20 div#librarydetail thead {
23 div#librarydetail tbody {
30 padding: 0.5em 0 0.5em 0;
33 div#librarydetail h3 {
35 padding: 0 0 0.25em 2em;
51 <div id="librarydetail">
52 <h2>About this library</h2>
53 <b>Library ID</b>: {{ lib.id }}<br/>
54 <b>Name</b>: {{ lib.library_name }}<br/>
55 <b>Species</b>: {{ lib.library_species.scientific_name }}<br/>
58 {% for individual in lib.affiliations.all %}
59 <li>{{ individual.name }} ( {{ individual.contact }} )</li>
63 <h2>Raw Result Files</h2>
67 <td>Run Start Date</td>
76 {% for result in eland_results %}
78 <td>{{ result.run_date|date }}</td>
79 <td>{{ result.cycle }}</td>
80 <td>{{ result.flowcell_id }}</td>
81 <td>{{ result.lane }}</td>
82 <td><a href="{{ result.summary_url }}">Summary</a></td>
83 <td><a href="{{ result.result_url }}">{{ result.result_label }}</a></td>
85 {% if result.bed_url %}
86 <a href="{{ result.bed_url }}">Bed</a>
90 {% if result.storage_ids %}
91 {{ result.storage_ids|safe }}
98 <h2>Lane Summary Statistics</h2>
99 {% block summary_stats %}
103 <td colspan="7"></td>
104 <td colspan="2">No Match</td>
105 <td colspan="2">QC Failed</td>
106 <td colspan="4">Unique</td>
107 <td colspan="4">Repeat</td>
114 <td>Cluster / Tile</td>
133 {% for lane in lane_summary_list %}
135 <td>{{ lane.cycle_width }}</td>
136 <td>{{ lane.flowcell_id }}</td>
137 <td>{{ lane.lane_id }}</td>
138 <td>{% if lane.end %}{{ lane.end }}{% endif %}</td>
139 <td>{{ lane.clusters.0|intcomma }}</td>
140 <td>{{ lane.successful_pm }}</td>
141 <td>{{ lane.reads|intcomma }}</td>
142 <td>{{ lane.no_match|intcomma }}</td>
143 <td>{{ lane.no_match_percent|stringformat:".2f" }}</td>
144 <td>{{ lane.qc_failed|intcomma }}</td>
145 <td>{{ lane.qc_failed_percent|stringformat:".2f" }}</td>
146 <td>{{ lane.match_codes.U0|intcomma }}</td>
147 <td>{{ lane.match_codes.U1|intcomma }}</td>
148 <td>{{ lane.match_codes.U2|intcomma }}</td>
149 <td>{{ lane.unique_reads|intcomma }}</td>
150 <td>{{ lane.match_codes.R0|intcomma }}</td>
151 <td>{{ lane.match_codes.R1|intcomma }}</td>
152 <td>{{ lane.match_codes.R2|intcomma }}</td>
153 <td>{{ lane.repeat_reads|intcomma }}</td>
160 <h2>Count of multi-reads</h2>
161 {% for lane in lane_summary_list %}
162 {% if lane.summarized_reads %}
164 {{lane.cycle_width}} {{ lane.flowcell_id }} lane {{ lane.lane_id }}
165 {% if lane.end %} end {{ lane.end }}{% endif %}
168 {% for name, counts in lane.summarized_reads.items %}
169 <li><b>{{ name }}</b>: {{ counts|intcomma }}</li>