Biostar Test Site

This is site is used for testing only. Visit: https://www.biostars.org to ask a question.

Handling of Reverse Strand in GAM file
1
0
Entering edit mode
6 months ago

In the gam file, for a reverse strand how is the CIGAR string represented? Is the read sequence already in reverse compliment form in gam file and the CIGAR string follows this read seq and the Flag is raised for reverse strand?

vg • 199 views
ADD COMMENT
2
Entering edit mode
6 months ago
glenn.hickey ▴ 240

There is some documentation on the GAM format here: https://github.com/vgteam/libvgio/blob/master/deps/vg.proto

Note that in vg we are phasing out GAM in favour of GAF: https://github.com/lh3/gfatools/blob/master/doc/rGFA.md#the-graph-alignment-format-gaf with "cs" cigar tags as defined here: https://lh3.github.io/minimap2/minimap2.html

Most (but not yet all) vg tools have options to input or output GAF instead of GAM

ADD COMMENT

Login before adding your answer.

Traffic: 250 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6