Minimac4
|
Represents a variant in the target dataset. More...
#include <variant.hpp>
Public Attributes | |
std::string | chrom |
Chromosome name. | |
std::uint32_t | pos |
1-based position on the chromosome | |
std::string | id |
Variant identifier. | |
std::string | ref |
Reference allele. | |
std::string | alt |
Alternate allele. | |
bool | in_tar |
True if site exists in the target file. | |
bool | in_ref |
True if site exists in the reference file. | |
float | af |
Allele frequency. | |
float | err |
Error rate. | |
float | recom |
Recombination rate. | |
std::vector< std::int8_t > | gt |
Genotype data for each sample. | |
Represents a variant in the target dataset.
Contains information about the variant's chromosome, position, alleles, genotype data, and flags indicating whether the site exists in the target or reference file.
float target_variant::af |
Allele frequency.
std::string target_variant::alt |
Alternate allele.
std::string target_variant::chrom |
Chromosome name.
float target_variant::err |
Error rate.
std::vector<std::int8_t> target_variant::gt |
Genotype data for each sample.
std::string target_variant::id |
Variant identifier.
bool target_variant::in_ref |
True if site exists in the reference file.
bool target_variant::in_tar |
True if site exists in the target file.
std::uint32_t target_variant::pos |
1-based position on the chromosome
float target_variant::recom |
Recombination rate.
std::string target_variant::ref |
Reference allele.