Merged bug fix from Stable into Unstable

This commit is contained in:
Eric Banks 2011-06-29 15:59:27 -04:00
commit dcd520a42e
1 changed files with 2 additions and 0 deletions

View File

@ -1010,6 +1010,8 @@ public class IndelRealigner extends ReadWalker<Integer, Integer> {
for ( byte b : indelStr )
sb.append((char)b);
cigar.add(new CigarElement(indelStr.length, CigarOperator.I));
} else {
throw new ReviewedStingException("Creating an alternate consensus from a complex indel is not allowed");
}
if ( reference.length - refIdx > 0 )