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]

Create a new writer from a URL.

Arguments

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

[src]

Create a new writer to stdout.

Arguments

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

[src]

Obtain reference to the lightweight HeaderView of the BCF header.

[src]

Create empty record for writing to this writer.

This record can then be reused multiple times.

[src]

Translate record to header of this writer.

Arguments

  • record - The Record to translate.

[src]

Subset samples of record to match header of this writer.

Arguments

  • record - The Record to modify.

[src]

Write record to the Writer.

Arguments

  • record - The Record to write.

[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