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

pub struct Writer {
    pub header: HeaderView,
    // some fields omitted
}

A BAM writer.

Fields

Methods

impl Writer
[src]

Create a new BAM file.

Arguments

  • path - the path. Use "-" for stdin.
  • header - header definition to use

Create a new BAM file from template.

Arguments

  • path - the path. Use "-" for stdin.
  • template - the template BAM. Use "-" for stdin.

Write record to BAM.

Arguments

  • record - the record to write

Trait Implementations

impl Send for Writer
[src]

impl Drop for Writer
[src]

A method called when the value goes out of scope. Read more