Package picard.vcf.processor
Class VcfFileSegmentGenerator
- java.lang.Object
-
- picard.vcf.processor.VcfFileSegmentGenerator
-
public abstract class VcfFileSegmentGenerator extends Object
Describes a mechanism for producingVcfFileSegments from a VCF file.
-
-
Constructor Summary
Constructors Constructor Description VcfFileSegmentGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static VcfFileSegmentGeneratorbyWholeContigSubdividingWithWidth(long segmentWidth)static <T> VcfFileSegmentGeneratorexcludingNonOverlaps(VcfFileSegmentGenerator strategy, htsjdk.samtools.util.OverlapDetector<T> overlaps)Returns a decoratedVcfFileSegmentGeneratorthat filters outVcfFileSegments that have no overlap with the providedOverlapDetector.abstract Iterable<VcfFileSegment>forVcf(File vcf)
-
-
-
Method Detail
-
forVcf
public abstract Iterable<VcfFileSegment> forVcf(File vcf)
-
byWholeContigSubdividingWithWidth
public static VcfFileSegmentGenerator byWholeContigSubdividingWithWidth(long segmentWidth)
-
excludingNonOverlaps
public static <T> VcfFileSegmentGenerator excludingNonOverlaps(VcfFileSegmentGenerator strategy, htsjdk.samtools.util.OverlapDetector<T> overlaps)
Returns a decoratedVcfFileSegmentGeneratorthat filters outVcfFileSegments that have no overlap with the providedOverlapDetector.
-
-