|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_POPULATION_SAMPLE_COUNTS_H_
2 #define GENESIS_POPULATION_SAMPLE_COUNTS_H_
41 namespace population {
134 char b0,
size_t c0,
char b1,
size_t c1,
char b2,
size_t c2,
char b3,
size_t c3
157 #endif // include guard
BaseCount(char b, size_t c)
One set of nucleotide sample counts, for example for a given sample that represents a pool of sequenc...
Combination of a nucleotide base and its count.
size_type a_count
Count of all A nucleotides that are present in the sample.
Tag class to assign a filter status to a Variant or SampleCounts.
FilterStatus status
Status to indicate whether any applied filters failed to pass.
std::array< BaseCount, 4 > data
size_type t_count
Count of all T nucleotides that are present in the sample.
Ordered array of sample counts for the four nucleotides.
size_type n_count
Count of all N (undetermined/any) nucleotides that are present in the sample.
size_type c_count
Count of all C nucleotides that are present in the sample.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
SortedSampleCounts(char b0, size_t c0, char b1, size_t c1, char b2, size_t c2, char b3, size_t c3)
SortedSampleCounts()=default
size_type d_count
Count of all deleted (*) nucleotides that are present in the sample.
size_t size_type
Public alias for the size type that the class uses to store its counts.
BaseCount const & operator[](size_t index) const
BaseCount & operator[](size_t index)
size_type g_count
Count of all G nucleotides that are present in the sample.