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

Fixed summary keys

parent 9a034f28
......@@ -302,9 +302,9 @@ class VariantEffectPredictor(val root: Configurable) extends BiopetCommandLineFu
(for ((header, headerIndex) <- headers) yield {
val name = header.stripPrefix("[").stripSuffix("]")
name -> (contents.drop(headerIndex + 1).takeWhile(!isHeader(_)).map { line =>
name.replaceAll(" ", "_") -> (contents.drop(headerIndex + 1).takeWhile(!isHeader(_)).map { line =>
val values = line.split("\t", 2)
values.head -> tryToParseNumber(values.last).getOrElse(0)
values.head.replaceAll(" ", "_") -> tryToParseNumber(values.last).getOrElse(0)
}.toMap)
}).toMap
}
......
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