gatk-3.8/public/java/test/org/broadinstitute/sting
David Roazen 3645ea9bb6 Sequence dictionary validation: detect problematic contig indexing differences
The GATK engine does not behave correctly when contigs are indexed
differently in the reads sequence dictionaries vs. the reference
sequence dictionary, and the inconsistently-indexed contigs are included
in the user's intervals. For example, given the dictionaries:

Reference dictionary = { chrM, chr1, chr2, ... }
BAM dictionary       = { chr1, chr2, ... }

and the interval "-L chr1", the engine would fail to correctly retrieve
the reads from chr1, since chr1 has a different index in the two dictionaries.

With this patch, we throw an exception if there are contig index differences
between the dictionaries for reads and reference, AND the user's intervals
include at least one of the mismatching contigs.

The user can disable this exception via -U ALLOW_SEQ_DICT_INCOMPATIBILITY

In all other cases, dictionary validation behaves as before.

I also added comprehensive unit tests for the (previously-untested)
SequenceDictionaryUtils class.

GSA-768 #resolve
2013-02-25 11:14:22 -05:00
..
commandline Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
gatk Sequence dictionary validation: detect problematic contig indexing differences 2013-02-25 11:14:22 -05:00
jna Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
utils Sequence dictionary validation: detect problematic contig indexing differences 2013-02-25 11:14:22 -05:00
BaseTest.java Replace org.broadinstitute.variant with jar built from the Picard repo 2013-02-05 17:24:25 -05:00
ExampleToCopyUnitTest.java Replace org.broadinstitute.variant with jar built from the Picard repo 2013-02-05 17:24:25 -05:00
MD5DB.java Encrypt GATK AWS keys using the GATK private key, and decrypt as needed as a resource when uploading to AWS logs 2013-01-30 16:42:23 -05:00
MD5Mismatch.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
StingTextReporter.java Updated all JAVA file licenses accordingly 2013-01-10 17:06:41 -05:00
TestNGTestTransformer.java Extend default timeout to 20 minutes 2013-02-13 17:43:40 -08:00
WalkerTest.java Replace org.broadinstitute.variant with jar built from the Picard repo 2013-02-05 17:24:25 -05:00