Format
SAM
Plain-text alignment format; the human-readable form of BAM. Positions are 1-based and the header carries reference contig names and lengths.
Extensions: .sam · Coordinates: 1-based-closed · Specification
From SAM
- How to Convert SAM to BAM (Commands, Checks, and Pitfalls)
samtools view converts the bytes; sort and index are what make the BAM actually usable downstream.
To SAM
No conversions to this format yet.