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

More efficient code

parent 9781583e
......@@ -211,10 +211,7 @@ object Seqstat extends ToolCommand {
readStats.qual ++= mutable.ArrayBuffer.fill(avgQual - readStats.qual.length + 1)(0)
}
readStats.qual(avgQual) += 1
readStats.withN += {
if (readNucleotides.contains("N")) 1L
else 0L
}
if (readNucleotides.contains("N")) readStats.withN += 1L
}
/**
......
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