Skip to content

Bad all_hits overlap result #420

@limwz01

Description

@limwz01

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)]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions