.sam Icon

SAM File Format

The SAM (Sequence Alignment/Map) file format is a widely used format in bioinformatics for storing sequence alignment data. It is primarily utilized in the context of next-generation sequencing (NGS) technologies, allowing researchers to store genomic data in a structured and efficient manner.

History

The SAM format was first introduced in 2008 as part of the SAM/BAM specification by Heng Li and his collaborators. The need for such a format arose due to the increasing volume of sequencing data produced by NGS technologies, which required a standardized method for storing and sharing alignment information. The SAM format is designed to be human-readable and easy to parse, which makes it suitable for a variety of computational analysis tools.

In 2010, the BAM (Binary Alignment/Map) format was introduced as a binary counterpart to SAM, allowing for more efficient storage and faster access to alignment data. Despite the existence of BAM, SAM remains popular for its simplicity and ease of use, particularly in initial data processing and visualization tasks.

Common Uses

The SAM file format is primarily used to store read alignments from sequencing experiments. Each line in a SAM file represents a single read alignment, containing information such as: - The name of the read - The reference sequence name - The position of the alignment on the reference - Alignment flags - Mapping quality - CIGAR string (describing the alignment in terms of matches, mismatches, and indels) - Optional tags for additional information (such as read group or sequencing platform)

SAM files are frequently utilized in various bioinformatics workflows, including: - Variant calling, where researchers identify mutations from aligned reads - Gene expression analysis, where the abundance of RNA transcripts is quantified - Structural variant detection, which involves identifying larger genomic alterations - Phylogenetic studies, where sequence alignments are crucial for understanding evolutionary relationships

Due to its human-readable format, SAM is often used for debugging and manual inspection of alignment data. Many popular bioinformatics tools, such as SAMtools and the Integrative Genomics Viewer (IGV), support the SAM format, enabling researchers to efficiently manipulate and visualize their sequencing data.

In summary, the SAM file format plays a critical role in the field of genomics by providing a standardized method for storing and analyzing sequence alignment data. Its combination of human readability and compatibility with various software tools makes it a staple in bioinformatics research, ensuring that it will remain relevant as sequencing technologies advance and generate even larger datasets.

Common Software for using .sam files

Alternate File Extensions

.sam may also have these alternate file extensions: