Table is an interface encompassing what a potentially codon optimized Translation table can do
| 83 | |
| 84 | // Table is an interface encompassing what a potentially codon optimized Translation table can do |
| 85 | type Table interface { |
| 86 | GetWeightedAminoAcids() []AminoAcid |
| 87 | Optimize(aminoAcids string, randomState ...int) (string, error) |
| 88 | Translate(dnaSeq string) (string, error) |
| 89 | } |
| 90 | |
| 91 | // Stats denotes a set of statistics we maintain throughout the translation table's lifetime. For example we track |
| 92 | // the start codons observed when we update the codon table's weights with other DNA sequences |
no outgoing calls
no test coverage detected