コード例 #1
0
 public DataflowReadEvaluator(GeminiOptions geminiOptions,
                              IGeminiDataSourceFactory dataSourceFactory, GeminiSampleOptions geminiSampleOptions, IGeminiDataOutputFactory dataOutputFactory, IBlockFactorySource blockFactorySource)
 {
     _geminiOptions       = geminiOptions;
     _dataSourceFactory   = dataSourceFactory;
     _geminiSampleOptions = geminiSampleOptions;
     _dataOutputFactory   = dataOutputFactory;
     _blockFactorySource  = blockFactorySource;
 }
コード例 #2
0
 public BlockFactorySource(StitcherOptions stitcherOptions, GeminiOptions geminiOptions, Dictionary <int, string> refIdMapping, BamRealignmentFactory bamRealignmentFactory,
                           IGeminiDataSourceFactory dataSourceFactory, GeminiSampleOptions geminiSampleOptions, RealignmentOptions realignmentOptions, IGeminiFactory geminiFactory)
 {
     _stitcherOptions        = stitcherOptions;
     _geminiOptions          = geminiOptions;
     _refIdMapping           = refIdMapping;
     _bamRealignmentFactory  = bamRealignmentFactory;
     _dataSourceFactory      = dataSourceFactory;
     _geminiSampleOptions    = geminiSampleOptions;
     _realignmentOptions     = realignmentOptions;
     _geminiFactory          = geminiFactory;
     _maxDegreeOfParallelism = Math.Min(_stitcherOptions.NumThreads, Environment.ProcessorCount);
 }
コード例 #3
0
        public GeminiWorkflow(IGeminiDataSourceFactory dataSourceFactory,
                              IGeminiDataOutputFactory dataOutputFactory, GeminiOptions geminiOptions,
                              GeminiSampleOptions geminiSampleOptions, RealignmentOptions realignmentOptions, StitcherOptions stitcherOptions, string outputDirectory, RealignmentAssessmentOptions realignmentAssessmentOptions, IndelFilteringOptions indelFilteringOptions, ISamtoolsWrapper samtoolsWrapper)
        {
            _dataSourceFactory   = dataSourceFactory;
            _dataOutputFactory   = dataOutputFactory;
            _geminiOptions       = geminiOptions;
            _geminiSampleOptions = geminiSampleOptions;
            _realignmentOptions  = realignmentOptions;
            _samtoolsWrapper     = samtoolsWrapper;
            _stitcherOptions     = stitcherOptions ?? new StitcherOptions();

            _geminiFactory = new GeminiFactory(geminiOptions, indelFilteringOptions);
            var bamRealignmentFactory = new BamRealignmentFactory(geminiOptions,
                                                                  realignmentAssessmentOptions, stitcherOptions, realignmentOptions,
                                                                  outputDirectory);

            _bamRealignmentFactory = bamRealignmentFactory;
        }
コード例 #4
0
 public AggregateRegionProcessor(ChrReference chrReference, Dictionary <int, string> refIdMapping,
                                 BamRealignmentFactory bamRealignmentFactory, GeminiOptions geminiOptions, IGeminiFactory geminiFactory,
                                 string chrom, IGeminiDataSourceFactory dataSourceFactory, RealignmentOptions realignmentOptions,
                                 ConcurrentDictionary <string, IndelEvidence> masterIndelLookup,
                                 ConcurrentDictionary <HashableIndel, int[]> masterOutcomesLookup,
                                 ConcurrentDictionary <HashableIndel, int> masterFinalIndels, List <PairClassification> categoriesForRealignment, ConcurrentDictionary <string, int> progressTracker)
 {
     _chrReference          = chrReference;
     _refIdMapping          = refIdMapping;
     _bamRealignmentFactory = bamRealignmentFactory;
     _geminiOptions         = geminiOptions;
     _geminiFactory         = geminiFactory;
     _chrom                    = chrom;
     _dataSourceFactory        = dataSourceFactory;
     _realignmentOptions       = realignmentOptions;
     _masterIndelLookup        = masterIndelLookup;
     _masterOutcomesLookup     = masterOutcomesLookup;
     _masterFinalIndels        = masterFinalIndels;
     _categoriesForRealignment = categoriesForRealignment;
     _progressTracker          = progressTracker;
 }