Skip to content
Snippets Groups Projects
Commit 29c827c7 authored by bow's avatar bow
Browse files

Fix incorrectly parsed CollectRnaSeqMetrics metrics output

parent 151caa0c
No related branches found
No related tags found
No related merge requests found
......@@ -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 +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment