Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api for intersections #9

Open
brentp opened this issue May 8, 2023 · 0 comments
Open

api for intersections #9

brentp opened this issue May 8, 2023 · 0 comments

Comments

@brentp
Copy link
Owner

brentp commented May 8, 2023

e.g. how to count intersections that have some percent or number of bases overlap, for example.

e.g. add tag to bam files

so, perhaps the query interval is mutable.

this is not needed so much in rust as we can write:

inter.iter()
    .filter(|intersection| intersection.base_interval.stop() - intersection.base_interval.start() > 100)
    .map(|intersection| intersection.base_interval.mutate())
    .map(|intersection| writer.write_interval(intersection.base_interval))

but for python, we may want more of an API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant