Struct rust_htslib::bcf::Writer [−][src]
pub struct Writer { /* fields omitted */ }
Expand description
A VCF/BCF writer.
Implementations
Create a new writer that writes to the given path.
Arguments
path
- the pathheader
- header definition to useuncompressed
- disable compressionvcf
- write VCF instead of BCF
Create a new writer from a URL.
Arguments
url
- the URLheader
- header definition to useuncompressed
- disable compressionvcf
- write VCF instead of BCF
Create a new writer to stdout.
Arguments
header
- header definition to useuncompressed
- disable compressionvcf
- write VCF instead of BCF
Obtain reference to the lightweight HeaderView
of the BCF header.
Create empty record for writing to this writer.
This record can then be reused multiple times.