[][src]Module rust_htslib::bcf

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 crate::bcf::errors::Error;
pub use crate::bcf::errors::Result;
pub use crate::bcf::header::Header;
pub use crate::bcf::header::HeaderRecord;
pub use crate::bcf::record::Record;

Modules

buffer
errors
header
record
synced

This module contains the SyncedReader class and related code.

Structs

IndexedReader

An indexed VCF/BCF reader.

Reader

A VCF/BCF reader.

Records
Writer

A VCF/BCF writer.

Enums

Format

Traits

Read

A trait for a BCF reader with a read method.

Functions

set_threads

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