Struct rust_htslib::bam::Writer[][src]

pub struct Writer { /* fields omitted */ }

A BAM writer.

Methods

impl Writer
[src]

Create a new BAM file.

Arguments

  • path - the path.
  • header - header definition to use

Create a new BAM file at STDOUT.

Arguments

  • header - header definition to use

Activate multi-threaded BAM write support in htslib. This should permit faster writing of large BAM files.

Arguments

  • n_threads - number of extra background writer threads to use, must be > 0.

Write record to BAM.

Arguments

  • record - the record to write

Return the header.

Trait Implementations

impl Debug for Writer
[src]

Formats the value using the given formatter. Read more

impl Send for Writer
[src]

impl Drop for Writer
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Sync for Writer