Handling of Reverse Strand in GAM file
1
0
Entering edit mode
3.9 years ago
ved_vyas ▴ 40

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 • 1.1k views
ADD COMMENT
2
Entering edit mode
3.9 years ago
glenn.hickey ▴ 520

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: 1540 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