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

gfatools bubble doesn't work on GFA after bubble popping with gfatools asm #22

Open
lstevens17 opened this issue Apr 6, 2022 · 0 comments

Comments

@lstevens17
Copy link

Hello,

I'm having trouble running gfatools bubble on a GFA file that has been processed with with gfatools asm.

I'm working with a subgraph that I extracted from minigraph output using gfatools view. If I run gfatools bubble on this subgraph file, I get the expected BED file:

$ gfatools bubble test_subgraph.gfa | head -n 1
V       19985854        19985854        2       1       0       0       0       -1      -1      -1      s54242,s54243   *       *

And everything looks as expected in bandage.

However, if I then pop bubbles in this graph using gfatools asm (command: gfatools asm -b 10000 -u test_subgraph.gfa >test_subgraph.b10000u.gfa), and then try to run gfatools bubble on the output, I get nothing:

$ gfatools bubble test_subgraph.b10000u.gfa | head -n 1

This GFA looks as expected in bandage (same structure as before, but fewer segments/bubbles), and I can generate a FASTA using gfatools gfa2fa. However, in addition to gfatools bubble not working, gfatools gfa2bed also produces nothing.

Is there anyway to get this second file to work with gfatools bubble? Is this something to do with GFA vs rGFA?

Thanks for your help!


I've attached the example files as .txt as github wouldn't accept my GFA files:

test_subgraph.b10000u.gfa.txt
test_subgraph.gfa.txt

And I'm using the following version of gfatools:

$ gfatools version
gfa.h: 0.5-r244-dirty
gfatools: 0.5-r238-dirty
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

No branches or pull requests

1 participant