dhtslib.vcf.record

Module provides VCF Reader/Writer

VCF version 4.2 (including BCF) reader and writer, including a model with convenience functions for the header (metadata) and individual VCF/BCF records (rows).

Specifications: https://samtools.github.io/hts-specs/VCFv4.2.pdf

Members

Aliases

BCFRecord
alias BCFRecord = VCFRecord
Undocumented in source.

Structs

FormatField
struct FormatField

Struct to aid in conversion of VCF format data into D types

Genotype
struct Genotype

Struct to represent VCF/BCF genotype data

InfoField
struct InfoField

Struct to aid in conversion of VCF info data into D types

VCFRecord
struct VCFRecord

Wrapper around bcf1_t

Unions

GT
union GT(T)

Represents individual GT values as encoded in BCF. This is described in the VCF 4.2 spec section 6.3.3. In summary it can be an int, short, or byte and encodes an allele value and a phased flag e.g (allele + 1) << 1 | phased

Meta