****************************************************************************** Nov, 20, 2020 Codon table JSON stuff begins here. In 2007, a Japanese group made a codon usage database based off of the current iteration of GenBank at the time. It became pretty much the #1 place to get codon tables f
(file []byte)
| 565 | |
| 566 | // ParseCodonJSON parses a codonTable JSON file. |
| 567 | func ParseCodonJSON(file []byte) *TranslationTable { |
| 568 | var codonTable TranslationTable |
| 569 | _ = json.Unmarshal(file, &codonTable) |
| 570 | return &codonTable |
| 571 | } |
| 572 | |
| 573 | // ReadCodonJSON reads a codonTable JSON file. |
| 574 | func ReadCodonJSON(path string) *TranslationTable { |
no outgoing calls