gatk-3.8/public/java/test/org/broadinstitute/sting/gatk
Mark DePristo 2e94a0a201 Refactor TraversalEngine to extract the progress meter functions
-- Previously these core progress metering functions were all in TraversalEngine, and available to subclasses like TraverseLoci via inheritance.  The problem here is that the upcoming data threads x cpu threads parallelism requires one master copy of the progress metering shared among all traversals, but multiple instantiations of traverse engines themselves.
-- Because the progress metering code has horrible anyway, I've refactored and vastly cleaned up and simplified all of these capabilities into TraversalProgressMeter class.  I've simplified down the classes it uses to work (STILL SOME TODOs in there) so that it doesn't reach into the core GATK engine all the time.  It should be possible to write some nice tests for it now.  By making it its own class, it can protect itself from multi-threaded access with a single synchronized printProgress function instead of carrying around multiple lock objects as before
-- Cleaned up the start up of the progress meter.  It's now handled when the meter is created, so each micro scheduler doesn't have to deal with proper initialization timing any longer
-- Simplified and made clear the interface for shutting down the traversal engines.  There's no a shutdown method in TraversalEngine that's called once by the MicroScheduler when the entire traversing in over.  Nano traversals now properly shut down (was subtle bug I undercovered here).  The printing of on traversal done metering is now handled by MicroScheduler
-- The MicroScheduler holds the single master copy of the progress meter, and doles it out to the TraversalEngines (currently 1 but in future commit there will be N).
-- Added a nice function to GenomeAnalysisEngine that returns the regions we will be processing, either the intervals requested or the whole genome.  Useful for progress meter but also probably for other infrastructure as well
-- Remove a lot of the sh*ting Bean interface getting and setting in MicroScheduler that's no longer useful.  The generic bean is just a shell interface with nothing in it.
-- By removing a lot of these bean accessors and setters many things are now final that used to be dynamic.
2012-09-10 20:14:13 -04:00
..
datasources Downsampling: experimental engine integration 2012-09-06 15:03:27 -04:00
downsampling Revert "Separated out the DoC calculations from the XHMM pipeline, so that CalcDepthOfCoverage can be used for calculating joint coverage on a per-base accounting over multiple samples (e.g., family samples)" 2012-09-10 15:52:39 -04:00
executive Reorganized the codebase beneath top-level public and private directories, 2011-06-28 06:55:19 -04:00
filters Updated and more thorough version of the BadCigar read filter 2012-08-17 17:05:27 -04:00
iterators Revert "Separated out the DoC calculations from the XHMM pipeline, so that CalcDepthOfCoverage can be used for calculating joint coverage on a per-base accounting over multiple samples (e.g., family samples)" 2012-09-10 15:52:39 -04:00
refdata Part I of GSA-462: Consistent RODBinding access across Ref and Read trackers 2012-08-30 10:15:10 -04:00
report Cleanup of VCF header lines and constants, BCF2 bugfixes 2012-06-21 15:16:31 -04:00
samples Cleanup of VCF header lines and constants, BCF2 bugfixes 2012-06-21 15:16:31 -04:00
traversals Refactor TraversalEngine to extract the progress meter functions 2012-09-10 20:14:13 -04:00
walkers Done GSA-282: Unindexed traversals crash if a read goes off the end of a contig 2012-09-05 21:10:03 -04:00
CommandLineGATKUnitTest.java Adding Unit Tests to cover the exception catching for Picard errors: because we are using String matching, we want to ensure that we know if/when the exception text changes underneath us. 2012-07-18 21:48:58 -04:00
EngineFeaturesIntegrationTest.java Sorting out HMS error handling (fingers crossed) 2012-07-25 23:13:12 -04:00
GenomeAnalysisEngineUnitTest.java Removed the "Walker" suffix from all walkers that had it. 2012-07-20 17:27:11 -04:00
WalkerManagerUnitTest.java Fixing walker unit test with the new naming convention 2012-07-20 17:50:29 -04:00