Fix bug wherein aligner could be closed prior to its being used to lowercase sequences.

This commit is contained in:
Christopher Hartl 2011-07-21 13:21:48 -04:00
parent 7054c5342f
commit 2f5d10d16b
1 changed files with 1 additions and 3 deletions

View File

@ -228,14 +228,12 @@ public class ValidationAmplicons extends RodWalker<Integer,Integer> {
}
public void onTraversalDone(Integer fin ) {
if(aligner != null)
aligner.close();
validateSequence();
if ( doNotUseBWA ) {
lowerRepeats();
} else {
lowerNonUniqueSegments();
aligner.close();
}
print();
}