Classes | |
class | Codon |
struct | AminoAcidEqual |
Functor comparing id two Codons translate to the same amino acid. More... | |
class | DNA |
class | GenomicPosition |
Functions | |
unsigned short | chr2int (const std::string &str) |
transform a string to unsigned short chromosome number |
unsigned short theplu::yat::omic::chr2int | ( | const std::string & | str | ) |
transform a string to unsigned short chromosome number
If str starts with 'chr' that prefix is stripped away before translating the string to chromosome number. Function translates "X" to 23, "Y" to 24, and "M" or "MT" to 25. For other inputs utility::convert is used to transform the input to an unsigned short.