What does SAM stand for?

Meaning and background of SAM
Full formSequence Alignment/Map
CategoryScience & engineering
TypeAbbreviation

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.

SAM — Sequence Alignment/Map; Science & engineering
Original reference card by AcronymIndex.

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.

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.

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.

Read a synthetic FLAG and MAPQ pair

Enter a decimal FLAG from 0 to 4095 and MAPQ from 0 to 255. This limited interpreter checks the unmapped bit and the reserved unavailable quality value; it does not validate a whole alignment record, flag combinations or file.

Your inputs stay in this browser. Confirm the details before using this example.

Help improve this entry

Spot a mistake or have a clearer example? Suggest a change.

Become a contributor

By AcronymIndex Editorial Team · Editorial policy

Copy this text

Select the text below and copy it.

Suggest an edit

Help the team improve this entry. Suggestions are reviewed before publication.

Fields marked * are required. Please leave out sensitive personal information.

Paste the specific wording, or select text in an entry before opening this form.

Tell us what to replace or add, and why it would help the reader.

An official organization, original document or other reliable reference, if relevant.

Your draft stays in this tab until you choose an email action. How we handle your information