|
libsequence
1.9.5
|
Classes | |
| class | Sequence::shortestPath |
| Calculate shortest path between 2 codons. More... | |
Functions | |
| Inter2_t | Sequence::Intermediates2 (const std::string &codon1, const std::string &codon2) |
| Calculate the intermediate codons between a pair of codons diverged at 2 positions. More... | |
| Inter3_t | Sequence::Intermediates3 (const std::string &codon1, const std::string &codon2) |
| Calculate the intermediate codons between a pair of codons diverged at 3 positions. More... | |
| std::pair< unsigned, unsigned > | Sequence::mutsShortestPath (const std::string &codon1, const std::string &codon2, const Sequence::GeneticCodes &code=GeneticCodes::UNIVERSAL) |
This group of classes and functions deals with determining either the counts of silent and replacement differences between codons or the intermedate codons that occurs between two different codons
| Inter2_t Sequence::Intermediates2 | ( | const std::string & | codon1, |
| const std::string & | codon2 | ||
| ) |
Calculate the intermediate codons between a pair of codons diverged at 2 positions.
| intermediates | a string[2] in which we will place the intermediate codons |
| codon1 | a codon |
| codon2 | a codon |
Definition at line 33 of file PathwayHelper.cc.
| Inter3_t Sequence::Intermediates3 | ( | const std::string & | codon1, |
| const std::string & | codon2 | ||
| ) |
Calculate the intermediate codons between a pair of codons diverged at 3 positions.
| intermediates | a string[9] in which we will place the intermediate codons |
| codon1 | a codon |
| codon2 | a codon |
Definition at line 91 of file PathwayHelper.cc.
| std::pair< unsigned, unsigned > Sequence::mutsShortestPath | ( | const std::string & | codon1, |
| const std::string & | codon2, | ||
| const Sequence::GeneticCodes & | code | ||
| ) |
For example:
Definition at line 322 of file shortestPath.cc.