Minor change to new CombineVariants error check so identical samples don't need genotypeMergeOption
This commit is contained in:
parent
b69b256003
commit
7bae70ec1a
|
|
@ -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 " +
|
||||
|
|
|
|||
Loading…
Reference in New Issue