#include <genesis/population/variant.hpp>
A single variant at a position in a chromosome, along with SampleCounts for a set of samples.
Typically, this class is used as a general representation of the variants/SNPs at a given chromosome position, for example coming from a line in a VCF file or (m)pileup file.
The class consists of the following data fields:
Definition at line 65 of file variant.hpp.
Public Attributes | |
char | alternative_base = 'N' |
std::string | chromosome |
size_t | position = 0 |
char | reference_base = 'N' |
std::vector< SampleCounts > | samples |
FilterStatus | status |
char alternative_base = 'N' |
Definition at line 80 of file variant.hpp.
std::string chromosome |
Definition at line 73 of file variant.hpp.
size_t position = 0 |
Definition at line 74 of file variant.hpp.
char reference_base = 'N' |
Definition at line 79 of file variant.hpp.
std::vector<SampleCounts> samples |
Definition at line 82 of file variant.hpp.
FilterStatus status |
Definition at line 76 of file variant.hpp.