Merge pull request #1001 from broadinstitute/jw_clarify_overlaping_contigs
Changed error message for Contigs Out of Order
This commit is contained in:
commit
456fefa860
|
|
@ -165,7 +165,12 @@ public class SequenceDictionaryUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
case OUT_OF_ORDER: {
|
case OUT_OF_ORDER: {
|
||||||
UserException ex = new UserException.IncompatibleSequenceDictionaries("Relative ordering of overlapping contigs differs, which is unsafe", name1, dict1, name2, dict2);
|
UserException ex = new UserException.IncompatibleSequenceDictionaries(
|
||||||
|
"The contig order in " + name1 + " and " + name2 + "is not "
|
||||||
|
+ "the same; to fix this please see: "
|
||||||
|
+ "(https://www.broadinstitute.org/gatk/guide/article?id=1328), "
|
||||||
|
+ " which describes reordering contigs in BAM and VCF files.",
|
||||||
|
name1, dict1, name2, dict2);
|
||||||
if ( allowNonFatalIncompabilities(validationExclusion) )
|
if ( allowNonFatalIncompabilities(validationExclusion) )
|
||||||
logger.warn(ex.getMessage());
|
logger.warn(ex.getMessage());
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue