Closed ekg closed 4 years ago
This changes the behavior of this on my tests, but the result seems more reasonable and less jumbled than the previous version. I think it's better that the duplicated bases are emitted immediately after they're detected rather than via another iteration of the transitive closure step.
The last commit has us not writing repeat-max'ed bases until the next loop through the transitive closure processing. This is really inefficient, as we have to keep exploring the links in the implicit interval tree to re-find them. This is fixed here by just putting them in a list of bases to emit later.