pybedtools.bedtool.BedTool.randomintersection_bp

BedTool.randomintersection_bp(other: BedTool, iterations: int, genome_fn: str, intersect_kwargs: dict[str, Any] | None = None, shuffle_kwargs: dict[str, Any] | None = None, processes: int = 1, _orig_pool: Pool | None = None) list[int][source]

Like randomintersection, but return the bp overlap instead of the number of intersecting intervals.