SAM (Sequence Alignment/Map) format is a generic format for storing large nucleotide sequence alignments.

A BAM file (.bam) is the binary version of a SAM file.