revgeneticcode

Return reverse mapping (amino acid to nucleotide codon) for genetic code

Syntax

Map = revgeneticcode
Map = revgeneticcode(GeneticCode)

Map = revgeneticcode(..., 'Alphabet', AlphabetValue, ...)
Map = revgeneticcode(..., 'ThreeLetterCodes', ThreeLetterCodesValue, ...)

Arguments

GeneticCode

Integer 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.

AlphabetValue

String specifying the nucleotide alphabet to use in the map. Choices are:

  • 'DNA' (default) — Uses the symbols A, C, G, and T.

  • 'RNA' — Uses the symbols A, C, G, and U.

ThreeLetterCodesValue

Controls the use of three-letter amino acid codes as field names in the return structure Map. Choices are true for three-letter codes or false for one-letter codes. Default is false.

Return Values

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

Description

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

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

Map = revgeneticcode(..., 'PropertyName', PropertyValue, ...) calls revgeneticcode with optional properties that use property name/property value pairs. You can specify one or more properties in any order. Each PropertyName must be enclosed in single quotation marks and is case insensitive. These property name/property value pairs are as follows:


Map = revgeneticcode(..., 'Alphabet', AlphabetValue, ...)
specifies the nucleotide alphabet to use in the map. AlphabetValue can be 'DNA', which uses the symbols A, C, G, and T, or 'RNA', which uses the symbols A, C, G, and U. Default is 'DNA'.

Map = revgeneticcode(..., 'ThreeLetterCodes', ThreeLetterCodesValue, ...) controls the use of three-letter amino acid codes as field names in the return structure Map. ThreeLetterCodesValue can be true for three-letter codes or false for one-letter codes. Default is false.

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

References

[1] NCBI Web page describing genetic codes:

http://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi?mode=c

See Also

Bioinformatics Toolbox™ functions: aa2nt, aminolookup, baselookup, geneticcode, nt2aa

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS