This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Is gaf.gz supported by vg pack and gamsort?

I am inspired by the article: https://jmonlong.github.io/manu-vggafannot/. I am not working well with gam format. So I am thinking about build a pipline based on gaf format for variant call and more analysis based on graph alignment. Since my gaf file is pretty big, I use gzip to turn it into gz format. I am wondering it can be the input of vg pack and gamsort?

vg

1 answer

Both subcommands can read gzip-compressed GAF files. More generally, vg uses HTSlib file I/O for reading GAF, so any compression option supported by HTSlib will be supported.

Also, it's a good idea to use bgzip instead of plain gzip with large files. bgzip can use multiple compression threads for speed, and the output can be indexed for various applications with tabix.

Thanks! I have two more questions about gamsort. Does it work well on pair-end read? Can it save the info from supplementary read alignment?

Log in to answer this question.