GLnexus
Scalable datastore for population genome sequencing, with on-demand joint genotyping
 All Classes Functions Variables
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
GLnexus::unified_site Struct Reference

Public Member Functions

bool operator== (const unified_site &rhs) const noexcept
 
bool operator< (const unified_site &rhs) const noexcept
 
 unified_site (const range &pos_) noexcept
 
Status yaml (const std::vector< std::pair< std::string, size_t > > &contigs, YAML::Emitter &out) const
 

Static Public Member Functions

static Status of_yaml (const YAML::Node &yaml, const std::vector< std::pair< std::string, size_t > > &contigs, unified_site &ans)
 

Public Attributes

range pos
 
std::vector< std::string > alleles
 Alleles at the position. More...
 
std::map< allele, int > unification
 
std::vector< float > observation_count
 

Member Data Documentation

std::vector<std::string> GLnexus::unified_site::alleles

Alleles at the position.

Each allele is a string over [ACTGN]+. The first allele is the reference. The order of the remaining alleles is arbitrary.

std::map<allele,int> GLnexus::unified_site::unification

Mapping of overlapping alleles (reference begin, reference end, allele DNA) onto the unified alleles (by index).


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