Add "Count of multi-reads" back into the library page
authorDiane Trout <diane@caltech.edu>
Sat, 9 Jul 2011 00:33:51 +0000 (17:33 -0700)
committerDiane Trout <diane@caltech.edu>
Sat, 9 Jul 2011 00:33:51 +0000 (17:33 -0700)
(Also encode the mapped read counts as RDFa

htsworkflow/frontend/templates/samples/library_detail.html

index 0cff58bd2fd72ba7c7fb610587a76884b217cff2..918dc4f3a5da04fe3a06eafd1b8a7d0db3475c42 100644 (file)
          {% endfor %}
     </tbody>
   </table>
+  <br/>
+  <hr/>
+  <h2>Count of multi-reads</h2>
+  {% for eland_lane in lane_summary_list %}
+    {% if eland_lane.summarized_reads %}
+    <h3>{{eland_lane.cycle_width}} {{ eland_lane.flowcell_id }} lane {{ eland_lane.lane_id }} 
+      {% if eland_lane.end %} end {{ eland_lane.end }}{% endif %}
+    </h3>
+    <ul about="{{eland_lane.lane.get_absolute_url}}">
+      {% for name, counts in eland_lane.summarized_reads.items %}
+      <li rel="libns:has_mappings">
+         <b property="libns:mapped_to">{{ name }}</b>: 
+         <span property="libns:reads" content="{{counts}}" datatype="xsd:integer">{{ counts|intcomma }}</span></li>
+      {% endfor %}
+    </ul>
+    {% endif %}
+  {% endfor %}
   {% endblock %}
   </div>
 </div>