diff --git a/uk/ac/sanger/artemis/components/variant/IOUtils.java b/uk/ac/sanger/artemis/components/variant/IOUtils.java index 2c2bcdc3ffe14a6f27f70e001e0d03b38eca5f9d..8d89c0b62d7487f959658fab40a34f550da41b70 100644 --- a/uk/ac/sanger/artemis/components/variant/IOUtils.java +++ b/uk/ac/sanger/artemis/components/variant/IOUtils.java @@ -680,7 +680,10 @@ class IOUtils buff.append("-"); } else if(vcfRecord.getAlt().isInsertion(vcf_v4)) + { buff.append(getBase(vcfRecord.getAlt().toString(), isFwd)); + position+=(vcfRecord.getRef().toString().length()-1); + } else if(vcfRecord.getAlt().isMultiAllele()) { String base = MultipleAlleleVariant.getIUBCode(vcfRecord);