pybedtools.bedtool.BedTool.tabix_intervals

BedTool.tabix_intervals(interval_or_string)[source]

Retrieve all intervals within cooridnates from a "tabixed" BedTool.

Given either a string in "chrom:start-stop" format, or an interval-like object with chrom, start, stop attributes, return a streaming BedTool of the features in this BedTool that overlap the provided interval.