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

Skipping header in general stats

parent d39b64aa
......@@ -50,7 +50,7 @@ class VcfStats(val root: Configurable) extends BiopetJavaCommandLineFunction wit
/** Returns general stats to the summary */
def summaryStats: Map[String, Any] = {
Map("info" -> (for (
line <- Source.fromFile(generalStats).getLines();
line <- Source.fromFile(generalStats).getLines().toList.tail;
values = line.split("\t") if values.size >= 2 && !values(0).isEmpty
) yield values(0) -> values(1).toInt
).toMap)
......
Supports Markdown
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