Count codons in nucleotide sequence
Codons = codoncount(SeqNT)
[Codons, CodonArray] =
codoncount(SeqNT)
... = codoncount(SeqNT,
...'Frame', FrameValue, ...)
... = codoncount(SeqNT,
...'Reverse', ReverseValue, ...)
... = codoncount(SeqNT,
...'Ambiguous', AmbiguousValue, ...)
... = codoncount(SeqNT,
...'Figure', FigureValue, ...)
... = codoncount(SeqNT,
...'GeneticCode', GeneticCodeValue, ...)
SeqNT | One of the following:
Examples: |
FrameValue | Integer specifying a reading frame in the nucleotide
sequence. Choices are |
ReverseValue | Controls the return of the codon count for the reverse
complement sequence of the nucleotide sequence specified by |
AmbiguousValue | Character vector or string specifying how to treat codons containing ambiguous
nucleotide characters (
|
FigureValue | Controls the display of a heat map of the codon counts.
Choices are |
GeneticCodeValue | Integer, character vector, or string specifying a genetic code number or code name from
the table Genetic Code. Default is
Tip If you use a code name, you can truncate the name to the first two letters of the name. |
Codons | MATLAB structure containing fields for the 64 possible
codons (AAA, AAC, AAG,
..., TTG, TTT), which contain
the codon counts in SeqNT. |
CodonArray | A 4-by-4-by-4 array containing the raw count data for each
codon. The three dimensions correspond to the three positions in the
codon, and the indices to each element are represented by 1
= A, 2 = C, 3 = G,
and 4 = T. For example, the element (2,3,4) in
the array contains the number of CGT codons. |
counts
the codons in Codons = codoncount(SeqNT)SeqNT, a nucleotide sequence,
and returns the codon counts in Codons,
a MATLAB structure containing fields for the 64 possible codons
(AAA, AAC, AAG,
..., TTG, TTT).
For sequences that have codons containing the character U,
these codons are added to the corresponding codons containing a T.
If the sequence contains gaps indicated by a hyphen
(-), then codons containing gaps are ignored.
If the sequence contains unrecognized characters, then codons containing these characters are ignored, and the following warning message appears:
Warning: Unknown symbols appear in the sequence. These will be ignored.
[ returns Codons, CodonArray] =
codoncount(SeqNT)CodonArray,
a 4-by-4-by-4 array containing the raw count data for each codon.
The three dimensions correspond to the three positions in the codon,
and the indices to each element are represented by 1 = A, 2
= C, 3 = G, and 4 = T.
For example, the element (2,3,4) in the array contains
the number of CGT codons.
... = codoncount( calls SeqNT,
...'PropertyName', PropertyValue,
...)codoncount 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:
... = codoncount( counts
the codons in the reading frame specified by SeqNT,
...'Frame', FrameValue, ...)FrameValue,
which can be 1 (default), 2,
or 3.
... = codoncount( controls
the return of the codon count for the reverse complement sequence
of SeqNT,
...'Reverse', ReverseValue, ...)SeqNT. Choices are true or false (default).
... = codoncount( specifies
how to treat codons containing ambiguous nucleotide characters. Choices
are:SeqNT,
...'Ambiguous', AmbiguousValue, ...)
'ignore' (default)
'bundle'
'prorate'
'warn'
... = codoncount( controls
the display of a heat map of the codon counts. Choices are SeqNT,
...'Figure', FigureValue, ...)true or false (default).
... = codoncount( controls
the overlay of a grid on the heat map figure. The grid groups the
synonymous codons according to SeqNT,
...'GeneticCode', GeneticCodeValue, ...)GeneticCodeValue.
aacount | basecount | baselookup | codonbias | dimercount | nmercount | ntdensity | seqcomplement | seqrcomplement | seqreverse | seqwordcount