Visualize and interactively explore biological sequences
The Sequence Viewer app lets you visualize and explore amino acid or nucleotide sequences.
Import sequences from the NCBI or EMBL databases directly.
View and explore various sequence information (such as ORFs and CDSs) and basic statistics (such as percentages of base counts or amino acid counts).
View the complement and reverse complement sequences, and other sequence features such as genes and exons.
Extract protein coding sections of a nucleotide sequence and export them to the MATLAB® workspace.
Search for characteristic words or sequence patterns using regular expressions.
Open the Sequence Viewer App
MATLAB Toolstrip: On the Apps tab, under Computational Biology, click the app icon.
MATLAB command prompt: Enter
Open and View a Biological Sequence
Retrieve a sequence from the GenBank® database.
S = getgenbank('M10051');
Load the sequence into the Sequence Viewer app.
Alternatively, you can click Sequence Viewer on the Apps tab
to open the app, and view the biological sequence
Close the app.
seqviewer opens the Sequence Viewer app.
a amino acid or nucleotide sequence
Seq can be one of the following:
A string of single-letter codes
A row vector of integers
A MATLAB structure containing a
Sequencefield that contains an amino acid or nucleotide sequence, such as the structure returned by
A string specifying a file name with an extension of .gbk, .gpt, .fasta, .fa, or .ebi.
Introduced before R2006a