a-ludi / djunctor

Close assembly gaps using long-reads with focus on correctness.
MIT License
0 stars 0 forks source link

Make main algorithm one-pass-only #47

Closed a-ludi closed 6 years ago

a-ludi commented 6 years ago

Applying this algorithm iteratively can be done from outside if given some intermediate results. Thus, the loop should be eliminated. The loop is currently limited to one iteration anyway.

Desired algorithmic structure

// Initialization
maskBadRegions()
filterReadAlignments()
// Close Gaps
buildPileUps()
for each pileUp do
    selectGoodReads()
    cropAndValidateReads()
    buildConsensus()
// Finish
pruneOverfilledGaps()
generateOutput()
a-ludi commented 6 years ago

Finished (see #46).