Module rust_htslib::bcf

source ·
Expand description

Module for working with VCF and BCF files.

Performance Remarks

Note that BCF corresponds to the in-memory representation of BCF/VCF records in Htslib itself. Thus, it comes without a runtime penalty for parsing, in contrast to reading VCF files.

Re-exports

pub use bcf::header::Header;
pub use bcf::header::HeaderRecord;
pub use bcf::record::Record;

Modules

This module contains the SyncedReader class and related code.

Structs

An indexed VCF/BCF reader.
A VCF/BCF reader.
A VCF/BCF writer.

Enums

Constants

Redefinition of corresponding #define in vcf.h..

Traits

A trait for a BCF reader with a read method.

Functions

Implementation for Reader::set_threads() and Writer::set_threads.