BAM (Binary Alignment Map)
From Just Solve the File Format Problem
(Difference between revisions)
Dan Tobias (Talk | contribs) (→Links) |
Dan Tobias (Talk | contribs) |
||
Line 6: | Line 6: | ||
BAM is compressed as a series of compressed blocks, each one a [[gzip]] archive. This is known as [[BGZF]] compression. | BAM is compressed as a series of compressed blocks, each one a [[gzip]] archive. This is known as [[BGZF]] compression. | ||
+ | |||
+ | An index of a BAM is stored in a format called BAI, also described in the spec. | ||
== Specifications == | == Specifications == |
Revision as of 02:20, 4 August 2020
BAM (Binary Alignment Map) is a data format used for mapping sequences of DNA. It is a compressed binary version of the data in the SAM format. It is classified as an alignment format, as is CRAM. This is as opposed to sequence-only, unaligned, formats such as FASTA and FASTQ.
BAM is compressed as a series of compressed blocks, each one a gzip archive. This is known as BGZF compression.
An index of a BAM is stored in a format called BAI, also described in the spec.