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

More efficient case class

parent e8186cf3
...@@ -164,14 +164,11 @@ object Seqstat extends ToolCommand { ...@@ -164,14 +164,11 @@ object Seqstat extends ToolCommand {
case class ReadStat(qual: mutable.ArrayBuffer[Long] = mutable.ArrayBuffer(), case class ReadStat(qual: mutable.ArrayBuffer[Long] = mutable.ArrayBuffer(),
nuc: mutable.ArrayBuffer[Long] = mutable.ArrayBuffer.fill('T'.toInt + 1)(0), nuc: mutable.ArrayBuffer[Long] = mutable.ArrayBuffer.fill('T'.toInt + 1)(0),
var withN: Long, var withN: Long = 0L,
lengths: mutable.ArrayBuffer[Int] = mutable.ArrayBuffer()) lengths: mutable.ArrayBuffer[Int] = mutable.ArrayBuffer())
val baseStats: mutable.ArrayBuffer[BaseStat] = mutable.ArrayBuffer() val baseStats: mutable.ArrayBuffer[BaseStat] = mutable.ArrayBuffer()
val readStats: ReadStat = new ReadStat(mutable.ArrayBuffer(), val readStats: ReadStat = new ReadStat()
mutable.ArrayBuffer.fill('T'.toInt + 1)(0),
0L,
mutable.ArrayBuffer())
/** /**
* Compute the quality metric per read * Compute the quality metric per read
......
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