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/>
56 <b>Concentration</b>: {{ lib.undiluted_concentration }} ng/µl<br/>
57 <b>Gel Cut Size</b>: {{ lib.avg_lib_size }}<br/>
58 <b>Made By</b>: {{ lib.made_by }} <br/>
61 {% for individual in lib.affiliations.all %}
62 <li>{{ individual.name }} ( {{ individual.contact }} )</li>
66 <h2>Raw Result Files</h2>
70 <td>Run Start Date</td>
79 {% for result in eland_results %}
81 <td>{{ result.run_date|date }}</td>
82 <td>{{ result.cycle }}</td>
83 <td>{{ result.flowcell_id }}</td>
84 <td>{{ result.lane }}</td>
85 <td><a href="{{ result.summary_url }}">Summary</a></td>
86 <td><a href="{{ result.result_url }}">{{ result.result_label }}</a></td>
88 {% if result.bed_url %}
89 <a href="{{ result.bed_url }}">Bed</a>
93 {% if result.storage_ids %}
94 {{ result.storage_ids|safe }}
101 <h2>Lane Summary Statistics</h2>
102 {% block summary_stats %}
106 <td colspan="7"></td>
107 <td colspan="2">No Match</td>
108 <td colspan="2">QC Failed</td>
109 <td colspan="4">Unique</td>
110 <td colspan="4">Repeat</td>
117 <td>Cluster / Tile</td>
136 {% for lane in lane_summary_list %}
138 <td>{{ lane.cycle_width }}</td>
139 <td>{{ lane.flowcell_id }}</td>
140 <td>{{ lane.lane_id }}</td>
141 <td>{% if lane.end %}{{ lane.end }}{% endif %}</td>
142 <td>{{ lane.clusters.0|intcomma }}</td>
143 <td>{{ lane.successful_pm }}</td>
144 <td>{{ lane.reads|intcomma }}</td>
145 <td>{{ lane.no_match|intcomma }}</td>
146 <td>{{ lane.no_match_percent|stringformat:".2f" }}</td>
147 <td>{{ lane.qc_failed|intcomma }}</td>
148 <td>{{ lane.qc_failed_percent|stringformat:".2f" }}</td>
149 <td>{{ lane.match_codes.U0|intcomma }}</td>
150 <td>{{ lane.match_codes.U1|intcomma }}</td>
151 <td>{{ lane.match_codes.U2|intcomma }}</td>
152 <td>{{ lane.unique_reads|intcomma }}</td>
153 <td>{{ lane.match_codes.R0|intcomma }}</td>
154 <td>{{ lane.match_codes.R1|intcomma }}</td>
155 <td>{{ lane.match_codes.R2|intcomma }}</td>
156 <td>{{ lane.repeat_reads|intcomma }}</td>
162 <h2>Flowcell Notes</h2>
171 {% for lane in lib.lane_set.all %}
173 <td>{{ lane.flowcell.flowcell_id }}</td>
174 <td>{{ lane.lane_number }}</td>
175 <td>{{ lane.comment }}</td>
181 <h2>Count of multi-reads</h2>
182 {% for lane in lane_summary_list %}
183 {% if lane.summarized_reads %}
185 {{lane.cycle_width}} {{ lane.flowcell_id }} lane {{ lane.lane_id }}
186 {% if lane.end %} end {{ lane.end }}{% endif %}
189 {% for name, counts in lane.summarized_reads.items %}
190 <li><b>{{ name }}</b>: {{ counts|intcomma }}</li>