[][src]Module bam::sam

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

SamReader

Reads records from SAM format.

SamWriter

Writes records in SAM format.

SamWriterBuilder

Builder of the SamWriter.