vg
tools for working with variation graphs
Public Attributes | List of all members
vg::Locus Struct Reference

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< Pathallele = 2
 
repeated< Supportsupport = 3
 These supports are per-allele, matching the alleles above. More...
 
repeated< Genotypegenotype = 4
 
Support overall_support = 5
 
repeated< double > allele_log_likelihood = 6
 

Detailed Description

Describes a genetic locus with multiple possible alleles, a genotype, and observational support.

Member Data Documentation

◆ allele

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.

◆ allele_log_likelihood

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.

◆ genotype

repeated<Genotype> vg::Locus::genotype = 4

sorted by likelihood or posterior the first one is the "call"

◆ name

string vg::Locus::name = 1

A locus may have an identifying name.

◆ overall_support

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.

◆ support

repeated<Support> vg::Locus::support = 3

These supports are per-allele, matching the alleles above.


The documentation for this struct was generated from the following file: