[odgi::extract] error: the node IDs are not compacted. Please run 'odgi sort' using -O, --optimize to optimize the graph
However, when I use the optimized graph, it of course has different node IDs than the original input gfa. This is a problem as I have a vcf containing node IDs from the unoptimized graph, and I want to be able to cross-reference between the subgraph and the vcf. Is there any way to do this? Thanks!
I'm trying to extract a subgraph like so:
but receive the error
However, when I use the optimized graph, it of course has different node IDs than the original input gfa. This is a problem as I have a vcf containing node IDs from the unoptimized graph, and I want to be able to cross-reference between the subgraph and the vcf. Is there any way to do this? Thanks!