gatk-3.8/public/java/test/org/broadinstitute/sting/gatk/traversals
David Roazen 605a5ac2e3 GATK engine: add ability to do on-the-fly BAM file sample renaming at runtime
-User must provide a mapping file via new --sample_rename_mapping_file argument.
 Mapping file must contain a mapping from absolute bam file path to new sample name
 (format is described in the docs for the argument).

-Requires that each bam file listed in the mapping file contain only one sample
 in their headers (they may contain multiple read groups for that sample, however).
 The engine enforces this, and throws a UserException if on-the-fly renaming is
 requested for a multi-sample bam.

-Not all bam files for a traversal need to be listed in the mapping file.

-On-the-fly renaming is done as the VERY first step after creating the SAMFileReaders
 in SAMDataSource (before the headers are even merged), to prevent possible consistency
 issues.

-Renaming is done ONCE at traversal start for each SAMReaders resource creation in the
 SAMResourcePool; this effectively means once per -nt thread

-Comprehensive unit/integration tests

Known issues: -if you specify the absolute path to a bam in the mapping file, and then
               provide a path to that same bam to -I using SYMLINKS, the renaming won't
               work. The absolute paths will look different to the engine due to the
               symlink being present in one path and not in the other path.

GSA-974 #resolve
2013-07-18 15:48:42 -04:00
..
DummyActiveRegionWalker.java Working version of incremental active region traversals 2013-01-23 13:46:00 -05:00
TAROrderedReadCacheUnitTest.java Exclude reduced reads from elimination during downsampling 2013-06-11 16:16:26 -04:00
TraverseActiveRegionsUnitTest.java GATK engine: add ability to do on-the-fly BAM file sample renaming at runtime 2013-07-18 15:48:42 -04:00
TraverseDuplicatesUnitTest.java Cleanup ART 2013-01-11 15:17:17 -05:00
TraverseReadsUnitTest.java Implement ActiveRegionTraversal RefMetaDataTracker for map call; HaplotypeCaller now annotates ID from dbSNP 2013-06-10 16:20:31 -04:00