Extends reference_site_info to include genotype data and allele counts.
More...
#include <variant.hpp>
|
| reference_variant () |
|
| reference_variant (const std::string &_chrom, std::uint32_t _pos, const std::string &_id, const std::string &_ref, const std::string &_alt, float _err, float _recom, double _cm, std::size_t _ac, std::vector< std::int8_t > _gt) |
|
| reference_site_info () |
|
| reference_site_info (std::string _chrom, std::uint32_t _pos, std::string _id, std::string _ref, std::string _alt, float _err, float _recom, double _cm) |
|
|
std::size_t | ac = 0 |
| Allele count.
|
|
std::vector< std::int8_t > | gt |
| Genotype vector.
|
|
std::string | chrom |
| Chromosome name.
|
|
std::uint32_t | pos = 0 |
| Position on the chromosome.
|
|
std::string | id |
| Variant identifier.
|
|
std::string | ref |
| Reference allele.
|
|
std::string | alt |
| Alternate allele.
|
|
float | err = std::numeric_limits<float>::quiet_NaN() |
| Error rate.
|
|
float | recom = std::numeric_limits<float>::quiet_NaN() |
| Recombination rate.
|
|
double | cm = std::numeric_limits<double>::quiet_NaN() |
| Centimorgan position.
|
|
Extends reference_site_info to include genotype data and allele counts.
◆ reference_variant() [1/2]
reference_variant::reference_variant |
( |
| ) |
|
|
inline |
◆ reference_variant() [2/2]
reference_variant::reference_variant |
( |
const std::string & | _chrom, |
|
|
std::uint32_t | _pos, |
|
|
const std::string & | _id, |
|
|
const std::string & | _ref, |
|
|
const std::string & | _alt, |
|
|
float | _err, |
|
|
float | _recom, |
|
|
double | _cm, |
|
|
std::size_t | _ac, |
|
|
std::vector< std::int8_t > | _gt ) |
|
inline |
◆ ac
std::size_t reference_variant::ac = 0 |
◆ gt
std::vector<std::int8_t> reference_variant::gt |
The documentation for this struct was generated from the following file: