What does SAM stand for?
| Full form | Sequence Alignment/Map |
|---|---|
| Category | Science & engineering |
| Type | Abbreviation |
The abbreviation SAM stands for Sequence Alignment/Map in bioinformatics. It names a tab-delimited text format for sequence alignment records, with optional header lines and eleven mandatory fields in each alignment line.
Read the field’s meaning before interpreting a familiar-looking number. The SAM format specification uses a bitwise FLAG field: value 4, also written 0x4, marks a segment as unmapped. The specification explicitly warns that an unmapped segment can still have coordinates for sorting. Our original synthetic example therefore pairs FLAG 4 with a written coordinate and asks which field determines the mapped/unmapped interpretation. The coordinate’s presence does not erase the unmapped flag. Another useful boundary concerns MAPQ: the specification assigns 255 to mapping quality not available, rather than defining it as the highest-confidence score. Header lines beginning with @ also have a different role from alignment lines; counting a header as one more read changes the kind of line being counted. Even alignment-line counts are not automatically distinct-template counts: the specification allows multiple alignment lines for a template. Do not turn a few field fragments into a count of independent biological observations. These exercises use a few declared field fragments from a synthetic record. They do not validate a complete SAM file, assess read quality, interpret a genome, infer a diagnosis or upload any sequence data. The cited version 1.6 specification printing is dated 12 August 2025; that printing date is not the origin date of the format.

Meaning in context
- Sequence Alignment/Map
- The file-format name, rather than the Windows account manager or an image-segmentation model.
- Header and alignment records
- An optional header and an alignment line play different roles; an alignment line has eleven mandatory fields before optional tags.
Practical examples
Read the flag before the coordinate
- Before
Original synthetic fragment: FLAG=4; a coordinate is present. Draft: the coordinate proves that the segment is mapped.
- After
FLAG 4 marks the segment as unmapped. A coordinate may still be present for sorting.
The specification gives the unmapped flag priority for this question. The fragment is not a claim that every other field is valid.
Read the reserved value
- Before
Original synthetic fragment: MAPQ=255. Draft: this is the strongest possible mapping-quality evidence.
- After
MAPQ 255 means mapping quality is unavailable in the specification.
The reserved unavailable value should not be read as a higher ordinary score. The exercise makes no judgment about a real read.
Original illustrative examples, not quotations or reports of actual events.
Read the synthetic SAM field fragments
Can an unmapped SAM segment still have a coordinate, and what does MAPQ 255 mean?
See all guidance
Identify a line
Distinguish a header line beginning with @ from an alignment record.
The original @HD example is a header line.
Identify mapping status
Read the unmapped FLAG bit rather than guessing from coordinate presence.
The synthetic FLAG 4 fragment is marked unmapped.
Identify unavailable quality
Keep MAPQ 255 separate from ordinary quality values.
255 is the specification’s unavailable marker.
Use the declared FLAG and MAPQ semantics, and distinguish header lines from alignment records before interpreting a synthetic SAM fragment.
Help improve this entry
Spot a mistake or have a clearer example? Suggest a change.
By AcronymIndex Editorial Team · Editorial policy