Minor change to new CombineVariants error check so identical samples don't need genotypeMergeOption

This commit is contained in:
Laura Gauthier 2014-10-28 08:17:49 -04:00
parent b69b256003
commit 7bae70ec1a
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ public class CombineVariants extends RodWalker<Integer, Integer> implements Tree
final boolean sampleNamesAreUnique = SampleUtils.verifyUniqueSamplesNames(vcfRods);
if (genotypeMergeOption == null) {
if (genotypeMergeOption == null && !ASSUME_IDENTICAL_SAMPLES) {
if (!sampleNamesAreUnique)
throw new UserException("Duplicate sample names were discovered but no genotypemergeoption was supplied. " +
"To combine samples without merging specify --genotypemergeoption UNIQUIFY. Merging duplicate samples " +