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

Pangenome partitioning #29

Merged
merged 13 commits into from
Nov 4, 2024
Merged

Pangenome partitioning #29

merged 13 commits into from
Nov 4, 2024

Conversation

AndreaGuarracino
Copy link
Member

@AndreaGuarracino AndreaGuarracino commented Nov 4, 2024

This introduces a greedy algorithm to partition pangenomes into more manageable chunks that will go into seqwish/pggb for "explicit" pangenome graph building. It builds on top of the latest fixes and changes in impg to correctly query pangenome alignment (#23, #24, #27) and make transitive queries possible (#25, #26) and in a reasonable amount of time (#28). The algorithm is implemented as a bash script for simpler future exploration before re-implementing several steps to achieve better performance.

This also adds an R script to get a (still not super nice, but good enough) visualization of pangenome partitioning statistics that will help judge its quality. Here is an example on the yeast pangenome:

partition_analysis
partition_analysis chr-composition

@AndreaGuarracino AndreaGuarracino merged commit 74142d6 into main Nov 4, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

1 participant