A library for working with phylogenetic data.
v0.25.0
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 140 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 146 of file vcf_common.hpp.

◆ id

std::string id

Definition at line 142 of file vcf_common.hpp.

◆ number

int number

Definition at line 145 of file vcf_common.hpp.

◆ special

VcfValueSpecial special

Definition at line 144 of file vcf_common.hpp.

◆ type

Definition at line 143 of file vcf_common.hpp.


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