Skip to content
Snippets Groups Projects
Commit 8ec0e2da authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

length array was too short for keeping the readlengths.

parent 8337024e
No related branches found
No related tags found
No related merge requests found
......@@ -130,7 +130,7 @@ object SeqStat extends ToolCommand {
baseStats ++= mutable.ArrayBuffer.fill(record.length - baseStats.length)(BaseStat())
}
if (readStats.lengths.length < record.length) {
if (readStats.lengths.length <= record.length) {
readStats.lengths ++= mutable.ArrayBuffer.fill(record.length - readStats.lengths.length + 1)(0)
}
......
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