Make sure to uppercase ref bases since they aren't coming from the engine
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4364 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
37613810bf
commit
7ad87d328d
|
|
@ -1319,6 +1319,7 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
|
||||||
long padRight = Math.min(loc.getStop()+REFERENCE_PADDING, referenceReader.getSequenceDictionary().getSequence(loc.getContig()).getSequenceLength());
|
long padRight = Math.min(loc.getStop()+REFERENCE_PADDING, referenceReader.getSequenceDictionary().getSequence(loc.getContig()).getSequenceLength());
|
||||||
loc = GenomeLocParser.createGenomeLoc(loc.getContigIndex(), padLeft, padRight);
|
loc = GenomeLocParser.createGenomeLoc(loc.getContigIndex(), padLeft, padRight);
|
||||||
reference = referenceReader.getSubsequenceAt(loc.getContig(), loc.getStart(), loc.getStop()).getBases();
|
reference = referenceReader.getSubsequenceAt(loc.getContig(), loc.getStart(), loc.getStop()).getBases();
|
||||||
|
StringUtil.toUpperCase(reference);
|
||||||
}
|
}
|
||||||
|
|
||||||
return reference;
|
return reference;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue