#include "codon.h"#include <cstring>#include <cstdlib>#include <fstream>Functions | |
| bool | isCodonHeader (const string &line) |
| int | hashbase (char n) |
| int | hashcodon (char c[3]) |
| int | hashcodon (const string &cc) |
| int hashbase | ( | char | n | ) |
convert base to integer A=>0, C=>1, G=>2, T,U=>3, S,W,R,Y,K,M,B,V,H,D,N => 4-14 regardless of case
Referenced by DNA::getcodeNuc(), hashcodon(), and Matrix::read().
| int hashcodon | ( | const string & | cc | ) |
References hashbase().
| int hashcodon | ( | char | c[3] | ) |
convert 3-letter codon to a integer from 0-63 for regular codon with letter from [ACGT] if codon length is 1 then return 64, 2 ten 65, other 66
References hashbase().
Referenced by codon::convert(), and codon::operator[]().
| bool isCodonHeader | ( | const string & | line | ) |
Referenced by codon::readCodonTable().
1.5.6