revgeneticcode

Get the reverse mapping for a genetic code

Syntax

map = revgeneticcode
revgeneticcode(GeneticCode,               
               'PropertyName', PropertyValue ...)

revgeneticcode(..., 'Alphabet' AlphabetValue) 
revgeneticcode(..., 'ThreeLetterCodes', CodesValue)

Arguments

GeneticCode

Enter a code number or code name from the table Genetic Code . If you use a code name, you can truncate the name to the first two characters of the name.

AlphabetValue

Property to select the nucleotide alphabet. Enter either 'dna' or 'rna'. The default value is 'dna'.

CodesValue

Property to select one- or three-letter amino acid codes. Enter true for three-letter code or false for one-letter code.

Genetic Code

Code NumberCode Name

1

Standard

2

Vertebrate Mitochondrial

3

Yeast Mitochondrial

4

Mold, Protozoan, Coelenterate Mitochondrial, and Mycoplasma/Spiroplasma

5

Invertebrate Mitochondrial

6

Ciliate, Dasycladacean, and Hexamita Nuclear

9

Echinoderm Mitochondrial

10

Euplotid Nuclear

11

Bacterial, and Plant Plastid

12

Alternative Yeast Nuclear

13

Ascidian Mitochondrial

14

Flatworm Mitochondrial

15

Blepharisma Nuclear

16

Chlorophycean Mitochondrial

21

Trematode Mitochondrial

22

Scenedesmus Obliquus Mitochondrial

23

Thraustochytrium Mitochondrial

Description

map = revgeneticcode returns a structure containing the reverse mapping for the standard genetic code.

revgeneticcode(GeneticCode, 'PropertyName', PropertyValue ...) returns a structure of the inverse mapping for alternate genetic codes.

revgeneticcode(..., 'Alphabet' AlphabetValue) defines the nucleotide alphabet to use in the map.

revgeneticcode(..., 'ThreeLetterCodes', CodesValue) returns the mapping structure with three-letter amino acid codes as field names instead of the default single-letter codes if ThreeLetterCodes is true.

Examples

moldcode = revgeneticcode(4,'Alphabet','rna');
wormcode = revgeneticcode('Flatworm Mitochondrial',...
                          'ThreeLetterCode',true);

map = revgeneticcode

map = 
      Name: 'Standard'
         A: {'GCT'  'GCC'  'GCA'  'GCG'}
         R: {'CGT'  'CGC'  'CGA'  'CGG'  'AGA'  'AGG'}
         N: {'AAT'  'AAC'}
         D: {'GAT'  'GAC'}
         C: {'TGT'  'TGC'}
         Q: {'CAA'  'CAG'}
         E: {'GAA'  'GAG'}
         G: {'GGT'  'GGC'  'GGA'  'GGG'}
         H: {'CAT'  'CAC'}
         I: {'ATT'  'ATC'  'ATA'}
         L: {'TTA'  'TTG'  'CTT'  'CTC'  'CTA'  'CTG'}
         K: {'AAA'  'AAG'}
         M: {'ATG'}
         F: {'TTT'  'TTC'}
         P: {'CCT'  'CCC'  'CCA'  'CCG'}
         S: {'TCT'  'TCC'  'TCA'  'TCG'  'AGT'  'AGC'}
         T: {'ACT'  'ACC'  'ACA'  'ACG'}
         W: {'TGG'}
         Y: {'TAT'  'TAC'}
         V: {'GTT'  'GTC'  'GTA'  'GTG'}
    Starts: {'TAA'  'TAG'  'TGA'}

See Also

Bioinformatics Toolbox functions aa2nt, baselookup, geneticcode, nt2aa


© 1994-2005 The MathWorks, Inc.