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

GFA space output for vg snarls #3524

Merged
merged 3 commits into from
Jan 31, 2022
Merged

GFA space output for vg snarls #3524

merged 3 commits into from
Jan 31, 2022

Conversation

adamnovak
Copy link
Member

@adamnovak adamnovak commented Jan 28, 2022

Changelog Entry

To be copied to the draft changelog by merger:

  • vg autoindex supports --gbwt-buffer-size to increase the buffer size for indexing long haplotypes.
  • vg snarls now supports --named-coordinates for reporting snarls and snarl traversals in input GFA coordinates.

Description

This adds the --named-coordinates option to vg snarls, so you can get snarls on a GFA file or GBZ graph and get your output in terms of GFA space. I had to add a new name member on the Visit to support this.

I'm also dong a little hacky rewriting of traversals, to elide the multiple visits to trivial snarls and different fragments of a segment that you get when a segment is split. The result of this is that if the traversal finder reports cyclic traversals that loop around on a node, the looping will be elided. I probably want to fix that.

@adamnovak
Copy link
Member Author

Here's a static binary of this: https://ipfs.io/ipfs/QmQH3C1GUUVekLDMYfXwESLFUL3sJU3JrJXN8gVkHv78jD

@adamnovak adamnovak merged commit 4f14d05 into master Jan 31, 2022
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