Commit 00bf2bf3 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix mapping plot in report

parent 160ed2d3
...@@ -127,9 +127,9 @@ object BammetricsReport extends ReportBuilder { ...@@ -127,9 +127,9 @@ object BammetricsReport extends ReportBuilder {
summary, Some(sample), lib).value.getOrElse(0).toString.toLong summary, Some(sample), lib).value.getOrElse(0).toString.toLong
val sb = new StringBuffer() val sb = new StringBuffer()
if (lib.isDefined) sb.append(sample + "-" + lib.get + "\t") else sb.append(sample + "\t") if (lib.isDefined) sb.append(sample + "-" + lib.get + "\t") else sb.append(sample + "\t")
sb.append((mapped - duplicates) + "\t") sb.append((mapped - duplicates - secondary) + "\t")
sb.append(duplicates + "\t") sb.append(duplicates + "\t")
sb.append((total - mapped - secondary) + "\t") sb.append((total - mapped) + "\t")
sb.append(secondary) sb.append(secondary)
sb.toString sb.toString
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment