Module bam::sam[][src]

Expand description

SAM reader and writer.

Contains a SAM reader and SAM writer. You can construct them as

let reader = SamReader::from_path("in.sam").unwrap();
let writer = SamWriter::from_path("out.sam", reader.header().clone()).unwrap();

The reader implements RecordReader trait, and the writer implements RecordWriter trait. See them for more information.

Structs

Reads records from SAM format.

Writes records in SAM format.

Builder of the SamWriter.