Fix bug wherein aligner could be closed prior to its being used to lowercase sequences.
This commit is contained in:
parent
7054c5342f
commit
2f5d10d16b
|
|
@ -228,14 +228,12 @@ public class ValidationAmplicons extends RodWalker<Integer,Integer> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onTraversalDone(Integer fin ) {
|
public void onTraversalDone(Integer fin ) {
|
||||||
if(aligner != null)
|
|
||||||
aligner.close();
|
|
||||||
|
|
||||||
validateSequence();
|
validateSequence();
|
||||||
if ( doNotUseBWA ) {
|
if ( doNotUseBWA ) {
|
||||||
lowerRepeats();
|
lowerRepeats();
|
||||||
} else {
|
} else {
|
||||||
lowerNonUniqueSegments();
|
lowerNonUniqueSegments();
|
||||||
|
aligner.close();
|
||||||
}
|
}
|
||||||
print();
|
print();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue