Package picard.vcf.processor
Class VariantProcessor<RESULT,ACCUMULATOR extends VariantProcessor.Accumulator<RESULT>>
- java.lang.Object
-
- picard.vcf.processor.VariantProcessor<RESULT,ACCUMULATOR>
-
public class VariantProcessor<RESULT,ACCUMULATOR extends VariantProcessor.Accumulator<RESULT>> extends Object
Describes an object that processes variants and produces a result. A consumer typically builds an instance of this class viaVariantProcessor.Builder, providing it the appropriateVariantProcessor.AccumulatorGeneratorandVariantProcessor.ResultMerger, then callsprocess()to obtain the RESULT of the processing. Future work...? - Make more efficient for the single-thread case. - AVcfFileSegmentGeneratorthat is based on an interval list, so that segments' span a constant-size total-base-count overlap with the interval list (or something in that vein).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVariantProcessor.Accumulator<RESULT>HandlesVariantContexts, and accumulates their data in some fashion internally.static interfaceVariantProcessor.AccumulatorGenerator<ACCUMULATOR extends VariantProcessor.Accumulator<RESULT>,RESULT>Generates instances ofVariantProcessor.Accumulators.static classVariantProcessor.Builder<A extends VariantProcessor.Accumulator<R>,R>Simple builder ofVariantProcessors.static interfaceVariantProcessor.ResultMerger<RESULT>Takes a collection of results produced byVariantProcessor.Accumulator.result()and merges them into a single RESULT.
-
-
-
Method Detail
-
process
public RESULT process()
-
-