diff --git a/public/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelRealigner.java b/public/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelRealigner.java index 33de08bb6..3cfa58c02 100755 --- a/public/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelRealigner.java +++ b/public/java/src/org/broadinstitute/sting/gatk/walkers/indels/IndelRealigner.java @@ -1010,6 +1010,8 @@ public class IndelRealigner extends ReadWalker { 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 )