pangenome / pggb

the pangenome graph builder
https://doi.org/10.1038/s41592-024-02430-3
MIT License
368 stars 41 forks source link

'SN:Z' and 'SO:i' tags for segments/nodes #328

Open songbowang125 opened 1 year ago

songbowang125 commented 1 year ago

Hi, I am using pggb to build my own pan-graphs and pggb outputs a well-constructed graph. However, I find that pggb does not output the 'SN:Z' and 'SO:i' tags for segments/nodes. 'SN:Z' refers to the 'Name of stable sequence from which the segment is derived'. 'SO:i' refers to the 'Offset on the stable sequence'. The two tags are very helpful for understanding the graph better. Is there any parameters to output the two tags?

Thanks

cgroza commented 1 year ago

These are tags from minigraph. You could reconstruct this information using a combination of odgi commands I think.