diff --git a/src/gencore.cpp b/src/gencore.cpp index 092e235..a775c4c 100644 --- a/src/gencore.cpp +++ b/src/gencore.cpp @@ -277,7 +277,11 @@ void Gencore::consensus(){ mProperClustersFinished = true; finishConsensus(mProperClusters); } - + + // Flush any reads remaining in mOutSet so that mPostStats is fully populated + // before report() is called + outputOutSet(); + //finishConsensus(mUnProperClusters); bam_destroy1(b);