Biology:Binary Alignment Map
Binary Alignment Map (BAM) is the comprehensive raw data of genome sequencing;[1] it consists of the lossless, compressed binary representation of the Sequence Alignment Map-files.[2][3] BAM is the compressed binary representation of SAM (Sequence Alignment Map), a compact and index-able representation of nucleotide sequence alignments.[4] The goal of indexing is to retrieve alignments that overlap a specific location quickly without having to go through all of them. Before indexing, BAM must be sorted by reference ID and then leftmost coordinate.[5] BAM is in compressed BGZF format.
![](/wiki/images/thumb/d/d2/BAMFormat.png/591px-BAMFormat.png)
The structure of BAM files include a header section and an alignment section:[6]
- Header—The sample name, sample length, and alignment method are all included in this section. The alignments section contains alignments that are linked to specific information in the header section.
- Alignments—The read name, read sequence, read quality, alignment information, and custom tags are all included in this file. The chromosome, start coordinate, alignment quality, and match descriptor string are all included in the read name.
- Alignment Section includes the following:
- Read Group (RG)
- Barcode Tag (BC)
- Single-end alignment quality (SM)
- Paired-end alignment quality (AS)
- Edit distance tag (NM)
- Amplicon name tag (XN)
- Alignment Section includes the following:
Bam format uses 0-based coordinate system, where as SAM uses 1-based coordinate system. BAM can represent values in the range [−2^31 , 2^32).[5]
To view a list of sequencing and analysis tools that work with SAM/BAM click here.
See also
- FASTQ format
- SAM format
- SAMtools
- CRAM format
- List of file formats for molecular biology
- Compression of Genomic Sequencing Data
External links
References
- ↑ "Carl Zimmer's Game of Genomes, Season 1: Episode 3, BAM Reveals All". STAT. https://www.statnews.com/feature/game-of-genomes/season-one/. Retrieved 2016-08-21.
- ↑ Li, Heng (2009-06-08). "The Sequence Alignment/Map format and SAMtools". Bioinformatics 25: 2078–9. doi:10.1093/bioinformatics/btp352. PMID 19505943. PMC 2723002. https://dash.harvard.edu/bitstream/handle/1/10246875/2723002.pdf?sequence=1.
- ↑ "Binary Alignment Map". National Cancer Institute Wiki. https://wiki.nci.nih.gov/display/TCGA/Binary+Alignment+Map. Retrieved 2016-08-21.
- ↑ "Genome Browser BAM Track Format". http://genome.ucsc.edu/goldenPath/help/bam.html.
- ↑ 5.0 5.1 "Sequence Alignment/Map Format Specification". The SAM/BAM Format Specification Working Group. 3 Jun 2021. https://samtools.github.io/hts-specs/SAMv1.pdf.
- ↑ "BAM File Format". https://support.illumina.com/help/BaseSpace_App_WGS_v5_OLH_15050955_02/Content/Source/Informatics/BAM-Format.htm.
![]() | Original source: https://en.wikipedia.org/wiki/Binary Alignment Map.
Read more |