biopython v1.71.0 Bio.Data.CodonTable
Codon tables based on those from the NCBI.
These tables are based on parsing the NCBI file ftp://ftp.ncbi.nih.gov/entrez/misc/data/gc.prt using Scripts/update_ncbi_codon_table.py
Last updated at Version 4.0
Link to this section Summary
Link to this section Functions
Extends a codon list to include all possible ambigous codons.
['TAG', 'TAA'] -> ['TAG', 'TAA', 'TAR'] ['UAG', 'UGA'] -> ['UAG', 'UGA', 'URA']
Note that [‘TAG’, ‘TGA’] -> [‘TAG’, ‘TGA’], this does not add ‘TRR’. Thus only two more codons are added in the following:
['TGA', 'TAA', 'TAG'] -> ['TGA', 'TAA', 'TAG', 'TRA', 'TAR']
Returns a new (longer) list of codon strings.
Back a back-table (naive single codon mapping).
ONLY RETURNS A SINGLE CODON, chosen from the possible alternatives based on their sort order.
Turns codon table data into objects, and stores them in the dictionaries (PRIVATE).