Integer or character vector 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

Character vector specifying a nucleotide alphabet. Choices
are:

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

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

Output Arguments

SeqNT

Nucleotide sequence specified by a character vector of letter
codes.

Description

SeqNT = aa2nt(SeqAA) converts
an amino acid sequence, specified by SeqAA,
to a nucleotide sequence, returned in SeqNT,
using the standard genetic code.

In general, the mapping from an amino acid to a nucleotide codon
is not a one-to-one mapping. For amino acids with multiple possible
nucleotide codons, this function randomly selects a codon corresponding
to that particular amino acid. For the ambiguous characters B and Z,
one of the amino acids corresponding to the letter is selected randomly,
and then a codon sequence is selected randomly. For the ambiguous
character X, a codon sequence is selected randomly
from all possibilities.

SeqNT = aa2nt(SeqAA,
...'PropertyName', PropertyValue,
...) calls aa2nt 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:

SeqNT =
aa2nt(SeqAA, ...'GeneticCode', GeneticCodeValue,
...) specifies a genetic code to use when converting an
amino acid sequence to a nucleotide sequence. GeneticCodeValue can
be an integer or character vector specifying a code number or code
name from the table Genetic Code.
Default is 1 or 'Standard'.
The amino acid to nucleotide codon mapping for the Standard genetic
code is shown in the table Standard Genetic Code.

Tip

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