Commit 29c827c7 authored by bow's avatar bow
Browse files

Fix incorrectly parsed CollectRnaSeqMetrics metrics output

parent 151caa0c
......@@ -78,10 +78,8 @@ class CollectRnaSeqMetrics(val root: Configurable) extends Picard with Summariza
def summaryStats: Map[String, Any] = Picard.getMetrics(output) match {
case None => Map()
case Some((header, content)) =>
header
.zip(content)
.map { case (h, c) => h.toLowerCase -> c.head }
.toMap
(for (i <- 0 to header.size if i < content.head.size)
yield header(i).toLowerCase -> content.head(i)).toMap
}
override def commandLine = super.commandLine +
......
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