pangenome / odgi

Optimized Dynamic Genome/Graph Implementation: understanding pangenome graphs
https://doi.org/10.1093/bioinformatics/btac308
MIT License
196 stars 40 forks source link

missing reference path after odgi build #589

Closed jespindel01 closed 3 months ago

jespindel01 commented 3 months ago

Hello,

I built a pangenome using the minigraph-cactus pipeline, and converted the .gbz to a gfa for building in odgi, e.g. vg convert -x Pgcactus.gbz -f --vg-algorithm > ../Pgcactus.gfa

If I run vg paths -x Pgcactus.gfa I can confirm that the reference paths are in the graph,

However, after I run: odgi build -g Pgcactus.gfa -o Pg_unsorted.og

followed by: odgi paths -i Pg_unsorted.og -L

the reference paths are no longer listed -- this is a problem because I want to be able to run odgi position to get the nearest reference node, as in the tutorial, e.g. odgi position -i k.og -g 4 -r x

Is this a bug, or am I doing something wrong? I would greatly appreciate any suggestions.