Package picard.vcf.processor
Class VariantIteratorProducer
java.lang.Object
picard.vcf.processor.VariantIteratorProducer
A mechanism for iterating over
CloseableIterator of VariantContexts in in some fashion, given VCF files and optionally
an interval list.
The produced iterators may perform on-the-fly filtering of the produced VariantContexts.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VariantIteratorProducerbyHundredMegabaseChunks(List<File> vcfs) Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached).static VariantIteratorProducerbyHundredMegabaseChunksWithOnTheFlyFilteringByInterval(List<File> vcfs, htsjdk.samtools.util.IntervalList intervalList) Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached), that also performs on-the-fly filtering ofVariantContextstatic VariantIteratorProducerProduces a chunking with segments of size 100 megabases (or less if a contig boundary is reached).static VariantIteratorProducerbyHundredMegabasePathChunksWithOnTheFlyFilteringByInterval(List<PicardHtsPath> vcfs, htsjdk.samtools.util.IntervalList intervalList) Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached), that also performs on-the-fly filtering ofVariantContextabstract voidclose()Closes any latent file handles that may have been opened by calls toiterators().abstract Iterable<htsjdk.samtools.util.CloseableIterator<htsjdk.variant.variantcontext.VariantContext>> Renders the embodied regions of the VCF files in the form ofCloseableIterators overVariantContexts.
-
Constructor Details
-
VariantIteratorProducer
public VariantIteratorProducer()
-
-
Method Details
-
iterators
public abstract Iterable<htsjdk.samtools.util.CloseableIterator<htsjdk.variant.variantcontext.VariantContext>> iterators()Renders the embodied regions of the VCF files in the form ofCloseableIterators overVariantContexts. The iterator may perform on-the-fly filtering of these elements. -
close
public abstract void close()Closes any latent file handles that may have been opened by calls toiterators(). -
byHundredMegabaseChunksWithOnTheFlyFilteringByInterval
public static VariantIteratorProducer byHundredMegabaseChunksWithOnTheFlyFilteringByInterval(List<File> vcfs, htsjdk.samtools.util.IntervalList intervalList) Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached), that also performs on-the-fly filtering ofVariantContext -
byHundredMegabasePathChunksWithOnTheFlyFilteringByInterval
public static VariantIteratorProducer byHundredMegabasePathChunksWithOnTheFlyFilteringByInterval(List<PicardHtsPath> vcfs, htsjdk.samtools.util.IntervalList intervalList) Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached), that also performs on-the-fly filtering ofVariantContext -
byHundredMegabaseChunks
Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached). -
byHundredMegabasePathChunks
Produces a chunking with segments of size 100 megabases (or less if a contig boundary is reached).
-