Convert GBWTGraph to GFA without using translation #4079
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
.