Struct rust_htslib::bcf::Writer [] [src]

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

Fields

header: HeaderView

Methods

impl Writer
[src]

fn new<P: AsRef<Path>>(path: &P, header: &Header, uncompressed: bool, vcf: bool) -> Result<Self, BCFError>

fn translate(&mut self, record: &mut Record)

Translate record to header of this writer.

fn subset(&mut self, record: &mut Record)

Subset samples of record to match header of this writer.

fn write(&mut self, record: &Record) -> Result<()()>

Trait Implementations

impl Send for Writer
[src]

impl Drop for Writer
[src]

fn drop(&mut self)

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