Minor optimization
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4817 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
56433ebf6b
commit
491a599b59
|
|
@ -449,9 +449,8 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
|
|||
}
|
||||
|
||||
private void abortCleanForCurrentInterval() {
|
||||
// merge the two sets for emission
|
||||
readsNotToClean.addAll(readsToClean.getReads());
|
||||
emit(readsNotToClean);
|
||||
emit(readsToClean.getReads());
|
||||
readsToClean.clear();
|
||||
readsNotToClean.clear();
|
||||
currentInterval = intervals.hasNext() ? intervals.next() : null;
|
||||
|
|
@ -471,9 +470,8 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
|
|||
clean(readsToClean);
|
||||
knownIndelsToTry.clear();
|
||||
|
||||
// merge the two sets for emission
|
||||
readsNotToClean.addAll(readsToClean.getReads());
|
||||
emit(readsNotToClean);
|
||||
emit(readsToClean.getReads());
|
||||
readsToClean.clear();
|
||||
readsNotToClean.clear();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue