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

Append offset to subpaths output by vg chunk -p #2506

Merged
merged 7 commits into from
Dec 7, 2019
Merged

Append offset to subpaths output by vg chunk -p #2506

merged 7 commits into from
Dec 7, 2019

Conversation

glennhickey
Copy link
Contributor

Handlifying context expansion meant losing path ranks. Proper support of subpaths is still pending: vgteam/libhandlegraph#29.

This PR hacks context expansion (but only activates in vg chunk) to append a suffix with the subpath offset for subpaths. If missing edges implied by paths are behind tube map crashes, as suspected in #2504, then this should be a fix.

Todo: should this be on by default (as opposed to just in chunk?) Is it worth supporting more generally, or should we just wait for a better API?

@glennhickey glennhickey requested a review from ekg October 11, 2019 17:24
Copy link
Member

@ekg ekg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@glennhickey glennhickey merged commit 52367d6 into master Dec 7, 2019
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.

3 participants