yat
0.9.3pre
|
Classes and functions related to genomics and proteomics. More...
Classes | |
class | Codon |
struct | AminoAcidEqual |
Functor comparing if two Codons translate to the same amino acid. More... | |
class | DNA |
class | GenomicPosition |
class | GFF |
class | GFF2 |
class | GFF3 |
Functions | |
unsigned short | chr2int (const std::string &str) |
transform a string to unsigned short chromosome number |
Classes and functions related to genomics and proteomics.
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.