[][src]Module rust_htslib::bam

Module for working with BAM and CRAM files.

Re-exports

pub use bam::buffer::RecordBuffer;
pub use bam::header::Header;
pub use bam::record::Record;

Modules

buffer
header
index

Module for working with BAM or CRAM indices.

pileup
record

Structs

ChunkIterator

Iterator over the records of a BAM until the virtual offset is less than end

HeaderView
IndexedReader
Reader

A BAM reader.

Records

Iterator over the records of a BAM.

Writer

A BAM writer.

Enums

AuxWriteError
BGZFError
FetchError
IndexedReaderError
IndexedReaderPathError
ReadError
ReaderPathError
ReferencePathError
SeekError
ThreadingError
WriteError
WriterPathError

Traits

Read

A trait for a BAM reader with a read method.

Functions

set_fai_filename

Set the reference FAI index path in a htslib::htsFile struct for reading CRAM format.

set_threads

Implementation for Read::set_threads and Writer::set_threads.