Skip to content
New issue

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

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

Already on GitHub? # to your account

teach impg to output all possible subgraphs by a given window size #15

Open
5 tasks
subwaystation opened this issue May 21, 2024 · 0 comments · May be fixed by #18
Open
5 tasks

teach impg to output all possible subgraphs by a given window size #15

subwaystation opened this issue May 21, 2024 · 0 comments · May be fixed by #18
Assignees
Labels
enhancement New feature or request

Comments

@subwaystation
Copy link
Member

subwaystation commented May 21, 2024

  • Add parameter window_size
  • Iterate over the first PAF entry following the window_size . Emit for each window_size a PAF.
  • Collect all ranges of all collected sequences using an interval tree https://github.com/dcjones/coitrees. Maybe do some clever sorting? Not sure if required.
  • Iterate over all other PAF entries. If a window or part of a window is not yet in the interval tree, emit another PAF. Else skip it.
  • Be happy.

Maybe we can parallelize this with an atomic interval tree. But this would be the strawberry on the cake.

@subwaystation subwaystation added the enhancement New feature or request label May 21, 2024
@subwaystation subwaystation self-assigned this May 21, 2024
@subwaystation subwaystation linked a pull request May 21, 2024 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant