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

Add path-based simplification logic to vg simplify #4520

Merged
merged 13 commits into from
Feb 7, 2025
Merged

Conversation

glennhickey
Copy link
Contributor

Changelog Entry

To be copied to the draft changelog by merger:

  • vg simplify -P option added to perform simplification based on a given set of reference paths. Snarls are "popped" if the maximum path traversal through them is <m. Larger snarls can be simplified by merging together similar traversals (threshold set with -L -- similar to deconstruct). Unlike the prior vg simplify logic (which remains here unchanged), -P scales to large graphs and supports non-protobuf input.

Description

I wrote this to help visualize MC graphs at chromosome / genome scale in BandageNG.

@glennhickey glennhickey merged commit e44d6eb into master Feb 7, 2025
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.

2 participants