diff --git a/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContextUtils.java b/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContextUtils.java index 60c17d17c..fbfcd91f3 100755 --- a/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContextUtils.java +++ b/java/src/org/broadinstitute/sting/gatk/contexts/variantcontext/VariantContextUtils.java @@ -586,7 +586,10 @@ public class VariantContextUtils { setValue = Utils.join("-", s); } - if ( setKey != null ) attributes.put(setKey, setValue); + if ( setKey != null ) { + attributes.put(setKey, setValue); + if( mergeInfoWithMaxAC ) { maxACAttributes.put(setKey, setValue); } + } } if ( depth > 0 )