| Bioinformatics Toolbox | ![]() |
Reverse the letters or numbers in a nucleotide sequence
SeqR = seqreverse(SeqNT)
SeqNT | Enter a 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. |
SeqR | Returns a sequence in the same format as the nucleotide sequence. For example, if SeqNT is an integer sequence, then so is SeqR. |
seqreverse calculates the reverse strand of a DNA or RNA sequence.
SeqR = seqreverse(SeqNT) calculates the reverse strand 3' --> 5' of the nucleotide sequence.
Reverse a nucleotide sequence.
s = 'ATCG' seqreverse(s) ans = GCTA
Bioinformatics Toolbox functions seqcomplement, seqrcomplement
MATLAB function fliplr
| seqrcomplement | seqshoworfs | ![]() |
© 1994-2005 The MathWorks, Inc.