ComparativeGenomicsToolkit / cactus

Official home of genome aligner based upon notion of Cactus graphs
Other
523 stars 111 forks source link

Add back --xg option to the pangenome pipeline #1241

Closed glennhickey closed 11 months ago

glennhickey commented 11 months ago

Way back when, I switched from outputting xg/gbwt to gbz, in order to keep consistent with vg giraffe's interface.

But there's been a number of times recently where I've wanted an xg (with all paths) for debugging with vg chunk and vg find. So this PR adds an --xg option to output a whole-genome xg with all paths, as converted from the .gbz (ie with chopped nodes). It only works in conjunction with --gbz.