public abstract class VcfFileSegmentGenerator extends Object
VcfFileSegment
s from a VCF file.Constructor | Description |
---|---|
VcfFileSegmentGenerator() |
Modifier and Type | Method | Description |
---|---|---|
static VcfFileSegmentGenerator |
byWholeContigSubdividingWithWidth(long segmentWidth) |
|
static <T> VcfFileSegmentGenerator |
excludingNonOverlaps(VcfFileSegmentGenerator strategy,
htsjdk.samtools.util.OverlapDetector<T> overlaps) |
Returns a decorated
VcfFileSegmentGenerator that filters out VcfFileSegment s that have no overlap with the provided
OverlapDetector . |
abstract Iterable<VcfFileSegment> |
forVcf(File vcf) |
public abstract Iterable<VcfFileSegment> forVcf(File vcf)
public static VcfFileSegmentGenerator byWholeContigSubdividingWithWidth(long segmentWidth)
public static <T> VcfFileSegmentGenerator excludingNonOverlaps(VcfFileSegmentGenerator strategy, htsjdk.samtools.util.OverlapDetector<T> overlaps)
VcfFileSegmentGenerator
that filters out VcfFileSegment
s that have no overlap with the provided
OverlapDetector
.