Products & Services Solutions Academia Support User Community Company

Learn more about Bioinformatics Toolbox   

seqreverse - Calculate reverse strand of nucleotide sequence

Syntax

SeqR = seqreverse(SeqNT)

Arguments

SeqNT

Nucleotide sequence specified by any of the following:

Description

SeqR = seqreverse(SeqNT) calculates the reverse strand of a DNA or RNA nucleotide sequence. The return sequence, SeqR, reads from 3' --> 5' and is in the same format as SeqNT. For example, if SeqNT is a vector of integers, then so is SeqR.

Examples

Return the reverse strand of a DNA nucleotide sequence.

s = 'ATCG'
seqreverse(s)
ans =
GCTA

See Also

Bioinformatics Toolbox functions: codoncount, palindromes, seqcomplement, seqrcomplement, seqtool

MATLAB function: fliplr

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS