| Bioinformatics Toolbox | ![]() |
Calculate reverse complement of a nucleotide sequence
SeqRC = seqrcomplement(SeqNT)
SeqNT | Nucleotide sequence. Enter either a character string with the characters A, T (U), G, C, and ambiguous characters R, Y, K, M, S, W, B, D, H, V, N, or a vector of integers. You can also enter a structure with the field Sequence. |
seqrcomplement calculates the reverse complementary strand of a DNA sequence.
SeqRC = seqrcomplement(SeqNT) calculates the reverse complementary strand 3' --> 5' (A-->T, C-->G, G-->C, T-->A) for a DNA sequence and returns a sequence in the same format as SeqNT. For example, if SeqNT is an integer sequence then so is SeqRC.
Reverse a DNA nucleotide sequence and then return its complement.
s = 'ATCG' seqrcomplement(s) ans = CGAT
Bioinformatics Toolbox functions codoncount, palindromes seqcomplement, seqreverse
| seqprofile | seqreverse | ![]() |
© 1994-2005 The MathWorks, Inc.