A library for working with phylogenetic and population genetic data.
VcfSpecification Struct Reference

#include <genesis/population/formats/vcf_common.hpp>

Detailed Description

Collect the four required keys that describe an INFO or FORMAT sub-field of VCF/BCF files.

We follow the htslib usage of Number, which is stored as two variables: One for the special specification of the number of values (is it variable or fixed, etc), and, if fixed, the actual value for the number of expected entries, which we here call the number. That number corresponds to the integer value given in the Number key of the INFO or FORMAT line.

Definition at line 150 of file vcf_common.hpp.

Public Attributes

std::string description
std::string id
int number
VcfValueSpecial special
VcfValueType type

Member Data Documentation

◆ description

std::string description

Definition at line 156 of file vcf_common.hpp.

◆ id

std::string id

Definition at line 152 of file vcf_common.hpp.

◆ number

int number

Definition at line 155 of file vcf_common.hpp.

◆ special

VcfValueSpecial special

Definition at line 154 of file vcf_common.hpp.

◆ type

Definition at line 153 of file vcf_common.hpp.

The documentation for this struct was generated from the following file: