| Bioinformatics Toolbox™ | ![]() |
SeqChar = int2aa(SeqInt)
SeqChar = int2aa(SeqInt,
'Case', CaseValue)
| SeqInt | Row vector of integers specifying an amino acid sequence. For valid integers, see the table Mapping Amino Acid Integers to Letter Codes. Integers are arbitrarily assigned to IUB/IUPAC letters. |
| CaseValue | String specifying the case of the returned string. Choices are 'upper' (default) or 'lower'. |
| SeqChar | Amino acid sequence specified by a string of single-letter codes. |
SeqChar = int2aa(SeqInt) converts SeqInt, a row vector of integers specifying an amino acid sequence, to SeqChar, a string of single-letter codes specifying the same amino acid sequence. For valid integers, see the table Mapping Amino Acid Integers to Letter Codes.
SeqChar = int2aa(SeqInt, 'Case', CaseValue) specifies the case of the returned string. Choices are 'upper' (default) or 'lower'.
Mapping Amino Acid Integers to Letter Codes
| Amino Acid | Integer | Code |
|---|---|---|
| Alanine | 1 | A |
| Arginine | 2 | R |
| Asparagine | 3 | N |
| Aspartic acid (Aspartate) | 4 | D |
| Cysteine | 5 | C |
| Glutamine | 6 | Q |
| Glutamic acid (Glutamate) | 7 | E |
| Glycine | 8 | G |
| Histidine | 9 | H |
| Isoleucine | 10 | I |
| Leucine | 11 | L |
| Lysine | 12 | K |
| Methionine | 13 | M |
| Phenylalanine | 14 | F |
| Proline | 15 | P |
| Serine | 16 | S |
| Threonine | 17 | T |
| Tryptophan | 18 | W |
| Tyrosine | 19 | Y |
| Valine | 20 | V |
| Asparagine or Aspartic acid (Aspartate) | 21 | B |
| Glutamine or Glutamic acid (Glutamate) | 22 | Z |
| Unknown amino acid (any amino acid) | 23 | X |
| Translation stop | 24 | * |
| Gap of indeterminate length | 25 | - |
| Unknown (any integer not in table) | 0 or ≥ 26 | ? |
Convert an amino acid sequence from integer to letter representation.
s = int2aa([13 1 17 11 1 21]) s = MATLAB
Bioinformatics Toolbox functions: aa2int, aminolookup, int2nt, nt2int
![]() | imageneread | int2nt | ![]() |
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |