Crate noodles_vcf

Source
Expand description

noodles-vcf handles the reading and writing of the VCF format.

§Examples

§Read all records from a file

use noodles_vcf as vcf;

let mut reader = vcf::io::reader::Builder::default().build_from_path("sample.vcf")?;
let header = reader.read_header()?;

for result in reader.records() {
    let record = result?;
    // ...
}

Re-exports§

pub use self::header::Header;
pub use self::record::Record;
pub use self::fs::index;
pub use self::async::io::Reader as AsyncReader;
pub use self::async::io::Writer as AsyncWriter;

Modules§

async
Async VCF.
fs
VCF filesystem operations.
header
VCF header and fields.
io
VCF I/O.
record
VCF record.
variant
Variant format.