vg
tools for working with variation graphs
|
Describes a genetic locus with multiple possible alleles, a genotype, and observational support. More...
Public Attributes | |
string | name = 1 |
A locus may have an identifying name. More... | |
repeated< Path > | allele = 2 |
repeated< Support > | support = 3 |
These supports are per-allele, matching the alleles above. More... | |
repeated< Genotype > | genotype = 4 |
Support | overall_support = 5 |
repeated< double > | allele_log_likelihood = 6 |
Describes a genetic locus with multiple possible alleles, a genotype, and observational support.
repeated<Path> vg::Locus::allele = 2 |
These are all the alleles at the locus, not just the called ones. Note that a primary reference allele may or may not appear.
repeated<double> vg::Locus::allele_log_likelihood = 6 |
We track the likelihood of each allele individually, in addition to genotype likelihoods. Stores the likelihood natural logged.
repeated<Genotype> vg::Locus::genotype = 4 |
sorted by likelihood or posterior the first one is the "call"
string vg::Locus::name = 1 |
A locus may have an identifying name.
Support vg::Locus::overall_support = 5 |
We also have a Support for the locus overall, because reads may have supported multiple alleles and we want to know how many total there were.
repeated<Support> vg::Locus::support = 3 |
These supports are per-allele, matching the alleles above.