Main

CIGAR strings

Last updated 27 June 2026

CIGAR strings

The ‘CIGAR’ (Compact Idiosyncratic Gapped Alignment Report) string is how the SAM/BAM format represents spliced alignments.

CIGAR strings have a number of operators:

Example:

CIGAR=3M2I3M:

0123456789
AAGTC  TAGAA (ref) 
  GTCGATAG (query)

← Back to Computational biology