Main Content

geneticcode

Return nucleotide codon to amino acid mapping for genetic code

Syntax

Map = geneticcode
Map = geneticcode(GeneticCode)

Input Arguments

GeneticCode

Integer, character vector, or string specifying a genetic code number or code name from the table Genetic Code. Default is 1 or 'Standard'.

Tip

If you use a code name, you can truncate the name to the first two letters of the name.

Output Arguments

Map Structure containing the mapping of nucleotide codons to amino acids for the standard genetic code. The Map structure contains a field for each nucleotide codon.

Description

Map = geneticcode returns a structure containing the mapping of nucleotide codons to amino acids for the standard genetic code. The Map structure contains a field for each nucleotide codon.

Map = geneticcode(GeneticCode) returns a structure containing the mapping of nucleotide codons to amino acids for the specified genetic code. GeneticCode is either:

Tip

If you use a code name, you can truncate the name to the first two letters of the name.

Genetic Code

Code NumberCode Name
1Standard
2Vertebrate Mitochondrial
3Yeast Mitochondrial
4Mold, Protozoan, Coelenterate Mitochondrial, and Mycoplasma/Spiroplasma
5Invertebrate Mitochondrial
6Ciliate, Dasycladacean, and Hexamita Nuclear
9Echinoderm Mitochondrial
10Euplotid Nuclear
11Bacterial and Plant Plastid
12Alternative Yeast Nuclear
13Ascidian Mitochondrial
14Flatworm Mitochondrial
15Blepharisma Nuclear
16Chlorophycean Mitochondrial
21Trematode Mitochondrial
22Scenedesmus Obliquus Mitochondrial
23Thraustochytrium Mitochondrial

Examples

Return the mapping of nucleotide codons to amino acids for the Flatworm Mitochondrial genetic code.

wormmap = geneticcode('Flatworm Mitochondrial');

References

[1] NCBI Web page describing genetic codes:

Version History

Introduced before R2006a