diff --git a/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java b/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java index 79ea208d2..78e8d99a1 100644 --- a/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java +++ b/java/src/org/broadinstitute/sting/utils/genotype/vcf/VCFRecord.java @@ -376,7 +376,9 @@ public class VCFRecord { } } if (gMap.size() != 0) { - throw new RuntimeException("We failed to use all the genotype samples; their must be an incosistancy between the header and records"); + for (String sample : gMap.keySet()) + System.err.println("Sample " + sample + " is being genotyped but isn't in the header."); + throw new RuntimeException("We failed to use all the genotype samples; there must be an inconsistancy between the header and records"); } }