ppvcf  1.0.0
Library for the parallel parsing of VCF files
Public Member Functions | Public Attributes | List of all members
GT Struct Reference

Struct for a single genotype. More...

#include <ppvcf.hpp>

Public Member Functions

 GT (uint8_t _a1=0, uint8_t _a2=0, bool _phased=true)
 
 ~GT ()
 

Public Attributes

uint8_t a1
 First allele.
 
uint8_t a2
 Second allele.
 
bool phased
 Phased flag.
 

Detailed Description

Struct for a single genotype.

Genotype information of a single sample associated to a variant.

Constructor & Destructor Documentation

◆ GT()

GT::GT ( uint8_t  _a1 = 0,
uint8_t  _a2 = 0,
bool  _phased = true 
)
inline

Constructor

Parameters
_a1is the first allele of the genotype
_a2is the second allele of the genotype
_phasedis true if the genotype is phased, false otherwise

◆ ~GT()

GT::~GT ( )
inline

Destructor


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