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

Change stats to histogram

parent 623035b0
...@@ -71,7 +71,7 @@ class CollectGcBiasMetrics(val root: Configurable) extends Picard with Summariza ...@@ -71,7 +71,7 @@ class CollectGcBiasMetrics(val root: Configurable) extends Picard with Summariza
def summaryFiles: Map[String, File] = Map() def summaryFiles: Map[String, File] = Map()
/** Returns stats for summary */ /** Returns stats for summary */
def summaryStats = Picard.getMetrics(output).getOrElse(Map()) def summaryStats = Picard.getHistogram(output, tag = "METRICS CLASS")
} }
object CollectGcBiasMetrics { object CollectGcBiasMetrics {
......
...@@ -81,7 +81,7 @@ class CollectMultipleMetrics(val root: Configurable) extends Picard with Summari ...@@ -81,7 +81,7 @@ class CollectMultipleMetrics(val root: Configurable) extends Picard with Summari
case _ if p == Programs.MeanQualityByCycle.toString => case _ if p == Programs.MeanQualityByCycle.toString =>
Picard.getHistogram(new File(outputName + ".quality_by_cycle_metrics")) Picard.getHistogram(new File(outputName + ".quality_by_cycle_metrics"))
case _ if p == Programs.CollectBaseDistributionByCycle.toString => case _ if p == Programs.CollectBaseDistributionByCycle.toString =>
Picard.getMetrics(new File(outputName + ".base_distribution_by_cycle_metrics")) Picard.getHistogram(new File(outputName + ".base_distribution_by_cycle_metrics"), tag = "METRICS CLASS")
case _ => None case _ => None
} }
val sum = new Summarizable { val sum = new Summarizable {
......
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