Struct bam::bam_writer::BamWriterBuilder[][src]

pub struct BamWriterBuilder { /* fields omitted */ }
Expand description

Builder of the BamWriter.

Implementations

The option to write or skip header when creating the BAM writer (writing by default).

Specify compression level from 0 to 9 (6 by default).

Specify the number of additional threads. Additional threads are used to compress blocks, while the main thread reads the writes to a file/stream. If additional_threads is 0 (default), the main thread will compress blocks itself.

Creates a BAM writer from a file and a header.

Creates a BAM writer from a stream and a header.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.