Minimac4
|
Represents a reference variant with sparse allele information. More...
#include <variant.hpp>
Public Member Functions | |
sparse_ref_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, const std::size_t *off_it, const std::size_t *off_it_end) | |
![]() | |
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) | |
Public Attributes | |
std::size_t | ac |
Allele count. | |
std::vector< std::uint32_t > | alt_allele_offsets |
Offsets of alternate alleles. | |
![]() | |
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. | |
Represents a reference variant with sparse allele information.
Stores allele count and offsets to alternate alleles in addition to the basic reference site info.
|
inline |
std::size_t sparse_ref_variant::ac |
Allele count.
std::vector<std::uint32_t> sparse_ref_variant::alt_allele_offsets |
Offsets of alternate alleles.