[][src]Module rust_htslib::bam

Module for working with SAM, BAM, and CRAM files.

Re-exports

pub use crate::bam::buffer::RecordBuffer;
pub use crate::bam::errors::Error;
pub use crate::bam::errors::Result;
pub use crate::bam::header::Header;
pub use crate::bam::record::Record;

Modules

buffer
errors
ext

Extensions for BAM records beyond htslib

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

CompressionLevel

Compression levels in BAM/CRAM files

Format

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.