Convert alignments to pangenome variation graphs to coverage maps useful in haplotype-based genotyping.
Use cargo
to build:
cargo install --force --path .
Provide a graph (in GFA) and alignments (in GAF):
gafpack -g z.gfa -a z.gaf >z.pack.tsv
The output gives the graph coverage vector with a header line.