Open genesok opened 5 months ago
I think your problem is that autoindex imports the GFA, and then you map to that, and then you re-import the GFA again to make a different graph, and try to interpret the mappings against the second graph. The node IDs are not the same between the two graphs; vg has several ways of importing GFAs and they don't always name the nodes in the result the same way.
You should bge able to use the same .xg file you used for mapping as the input to vg augment
. If it doesn't like that, you can use vg convert
to convert the .xg to .vg (which won't change the node IDs) and then use that file with vg augment
.
You can check if vg thinks a file of reads is interpretable against a particular graph with vg validate [graph] -a [gam]
.
The problem should also go away if you make sure vg doesn't need to do any node ID modifications to your GFA graph: give all the S lines numerical names starting at 1
, and make sure that the edges don't specify any overlaps, and that none of the nodes are too long. 32 bp is definitely a safe limit, and I think 1024 bp might be the real upper limit.
What is your thought on autoindex producing an index.pg when using the map workflow? I just fell into this issue as well. I prefer to make my own gfa as its a lot simpler than torturing a vcf file to try and represent nested changes/etc.
I think an index.pg
would be the same graph as the .xg
it already produces, just stored in a slightly different format on disk.
1. What were you trying to do? I wanted to perform augmentation using gam file mapped through vg giraffe on my pangenome graph.
2. What did you want to happen? Successfully augmented graph
3. What actually happened? forwardize_breakpoints error occurred, resulting in Error: Signal 6
4. If you got a line like
Stack trace path: /somewhere/on/your/computer/stacktrace.txt
, please copy-paste the contents of that file here:5. What data and command can the vg dev team use to make the problem happen? The minipigs.assembly_only.gfa file is a pangenome graph file created using minigraph that serves as the target for augmentation.
6. What does running
vg version
say?