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

Convert GBWTGraph to GFA without using translation #4079

Merged
merged 2 commits into from
Sep 8, 2023
Merged

Conversation

jltsiren
Copy link
Contributor

@jltsiren jltsiren commented Sep 8, 2023

Changelog Entry

To be copied to the draft changelog by merger:

  • vg convert option --no-translation for converting GBWTGraph to GFA directly without using the node-to-segment translation.

Description

GBWTGraph can store a node-to-segment translation for conversions between GFA segments (string names, arbitrary length) and nodes (integer ids, often limited to 1024 bp). When GBWTGraph is converted to GFA, this translation is used to restore the original GFA. Sometimes this is undesirable and we really want a direct conversion to a GFA graph with the same nodes as the GBWTGraph. This is now possible by using vg convert option --no-translation.

@jltsiren jltsiren merged commit 01ecaa3 into master Sep 8, 2023
1 check passed
@jltsiren jltsiren deleted the no-translation branch September 8, 2023 11:33
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