SAM flag interpretation audit
Decode alignment flag bits and distinguish records from unique templates.
Your entries stay in this page’s memory and are not submitted to us. Downloads are generated locally. Reloading or leaving the page clears your entries. Do not enter patient information.
Use invented demonstration data only, never patient sequences or identifiers. Inputs stay in this browser. No uploads or storage.
The starting values are hypothetical. Results update as you edit. Use aggregate or synthetic inputs only.
Calculation results
- Alignment records
- 3
- Unmapped records
- 1
- Secondary records
- 1
- Supplementary records
- 0
- Decoded flags
- 1: 99 = multiple segments; aligner proper pair; next segment reverse complemented; first segment 2: 147 = multiple segments; aligner proper pair; reverse complemented; last segment 3: 260 = unmapped; secondary alignment
- Scope
- Record counts overlap; this is not a unique-template count.
How to interpret the output
Decodes known bits and reports reserved bits. Counts alignment records, not distinct reads or people. A zero unmapped bit alone is not evidence of good alignment. Proper-pair meaning is aligner dependent. Pair-specific bits are uninterpretable when bit 1 is unset. Source checked 2 December 2026.
Method reference