pybedtools icon indicating copy to clipboard operation
pybedtools copied to clipboard

Bad `all_hits` overlap result

Open limwz01 opened this issue 1 year ago • 0 comments

Somehow, when the coordinates are big enough, all_hits produce wrong results:

bt1 = pybedtools.BedTool("chr1 50000001 50000002", from_string=True)
print(bt1.all_hits(pybedtools.Interval("chr1", 50000000, 50000001), overlap=1.0))

produces:

[Interval(chr1:50000001-50000002)]

limwz01 avatar Jan 07 '25 10:01 limwz01