This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Visualize and interactively explore biological sequences


  • seqviewer('close')



seqviewer opens the Sequence Viewer app.

seqviewer(Seq) loads a sequence Seq into the app, where you can view and interactively explore the sequence.

seqviewer(Seq,Name,Value) opens the app with additional options specified by one or more Name,Value pair arguments.

seqviewer('close') closes the Sequence Viewer app.

Input Arguments

collapse all

Amino acid or nucleotide sequence, specified as:

Name-Value Pair Arguments

Specify optional comma-separated pairs of Name,Value arguments. Name is the argument name and Value is the corresponding value. Name must appear inside single quotes (' '). You can specify several name and value pair arguments in any order as Name1,Value1,...,NameN,ValueN.

Example: 'Alphabet','AA' specifies that the aligned sequences are amino acid sequences.

collapse all

Type of aligned sequences, specified as 'AA' for amino acid sequences or 'NT' for nucleotide sequences.

Example: 'Alphabet','AA'


collapse all

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 S.

Close the app.


Related Examples

Introduced before R2006a

Was this topic helpful?