diff --git a/java/src/org/broadinstitute/sting/gatk/walkers/annotator/VariantAnnotatorEngine.java b/java/src/org/broadinstitute/sting/gatk/walkers/annotator/VariantAnnotatorEngine.java index 91e3a9329..962088598 100755 --- a/java/src/org/broadinstitute/sting/gatk/walkers/annotator/VariantAnnotatorEngine.java +++ b/java/src/org/broadinstitute/sting/gatk/walkers/annotator/VariantAnnotatorEngine.java @@ -301,7 +301,7 @@ public class VariantAnnotatorEngine { // dbSNP.avHet=value1 from record 1 and dbSNP.avHet=value2 from record 2 will become dbSNP.avHet_1=value1 and dbSNP.avHet_2=value2 ) Map annotationsForRecordWithRenamedKeys = new HashMap(); for(Map.Entry annotation : annotationsForRecord.entrySet()) { - annotationsForRecordWithRenamedKeys.put(annotation.getKey() + "_" + i, annotation.getValue()); + annotationsForRecordWithRenamedKeys.put(annotation.getKey() + "_" + (i + 1), annotation.getValue()); } annotationsForRecord = annotationsForRecordWithRenamedKeys;