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

pub struct Writer { /* fields omitted */ }

A VCF/BCF writer.

Methods

impl Writer
[src]

[src]

Create a new writer that writes to the given path.

Arguments

  • path - the path.
  • header - header definition to use
  • uncompressed - disable compression
  • vcf - write VCF instead of BCF

[src]

[src]

[src]

[src]

Create empty record for writing to this writer. The record can be reused multiple times.

[src]

Translate record to header of this writer.

[src]

Subset samples of record to match header of this writer.

[src]

[src]

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

Arguments

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

Trait Implementations

impl Debug for Writer
[src]

[src]

Formats the value using the given formatter. Read more

impl Send for Writer
[src]

impl Drop for Writer
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl !Sync for Writer