GeneticCodeTable.php
Class of constants naming the supported NCBI genetic code translation tables Freely inspired by BioPHP's project biophp.org Created 30 September 2026 Last modified 9 October 2026
Table of Contents
Classes
- GeneticCodeTable
- Numbering matches NCBI's own "Genetic Codes" table IDs, so a caller already familiar with that numbering (or reading it off a GenBank /transl_table qualifier) can use it directly. The tables are those of NCBI's gc.prt (version 4.6) whose stop codons are the same in every context, which Biopython's CodonTable agrees with on all 64 codons. Left out are 27 (Karyorelict), 28 (Condylostoma) and 31 (Blastocrithidia) : their UGA, and for the last two UAA and UAG, is a stop or an amino acid according to its position, which a table giving one reading per codon cannot say.