diff --git a/src/main/groovy/com/milaboratory/migec/Assemble.groovy b/src/main/groovy/com/milaboratory/migec/Assemble.groovy index 661482d..1e13505 100644 --- a/src/main/groovy/com/milaboratory/migec/Assemble.groovy +++ b/src/main/groovy/com/milaboratory/migec/Assemble.groovy @@ -503,17 +503,17 @@ GParsPool.withPool THREADS, { } } else { if (noCollision) { - counts.eachWithIndex { int count, int i -> - nCollisionMigs[i].incrementAndGet() - nCollisionReads[i].addAndGet(count) - } - } else { counts.eachWithIndex { int count, int i -> if (count < minMigSize) { nOverseqMigs[i].incrementAndGet() nOverseqReads[i].addAndGet(count) } } + } else { + counts.eachWithIndex { int count, int i -> + nCollisionMigs[i].incrementAndGet() + nCollisionReads[i].addAndGet(count) + } } }