The public library page needed to pass eland.genome_map to summarize_mapped_reads
[htsworkflow.git] / htsworkflow / frontend / samples / views.py
index 58bef9133b21d7d70f5dda5c7091e51fc202e884..b6561a624ed1b54c42a606a305cab1f081d05298 100644 (file)
@@ -243,7 +243,7 @@ def _summary_stats(flowcell_id, lane_id):
                 eland_summary.flowcell_id = flowcell_id
                 eland_summary.clusters = gerald_summary[end][lane_id].cluster
                 eland_summary.cycle_width = cycle_width
-                eland_summary.summarized_reads = runfolder.summarize_mapped_reads(eland_summary.mapped_reads)
+                eland_summary.summarized_reads = runfolder.summarize_mapped_reads(eland_summary.genome_map, eland_summary.mapped_reads)
 
                 # grab some more information out of the flowcell db
                 flowcell = FlowCell.objects.get(flowcell_id=fc_id)