Struct rust_htslib::bcf::Writer
[−]
[src]
pub struct Writer { pub header: HeaderView, // some fields omitted }
Fields
header: HeaderView
Methods
impl Writer
[src]
fn from_path<P: AsRef<Path>>(
path: P,
header: &Header,
uncompressed: bool,
vcf: bool
) -> Result<Self, BCFPathError>
[src]
path: P,
header: &Header,
uncompressed: bool,
vcf: bool
) -> Result<Self, BCFPathError>
fn from_url(
url: &Url,
header: &Header,
uncompressed: bool,
vcf: bool
) -> Result<Self, BCFError>
[src]
url: &Url,
header: &Header,
uncompressed: bool,
vcf: bool
) -> Result<Self, BCFError>
fn from_stdout(
header: &Header,
uncompressed: bool,
vcf: bool
) -> Result<Self, BCFError>
[src]
header: &Header,
uncompressed: bool,
vcf: bool
) -> Result<Self, BCFError>
fn translate(&mut self, record: &mut Record)
[src]
Translate record to header of this writer.
fn subset(&mut self, record: &mut Record)
[src]
Subset samples of record to match header of this writer.