Main Content

seqviewer

Visualize and interactively explore biological sequences

Description

example

seqvieweropens the Sequence Viewer app.

seqviewer(Seq)loads a sequenceSeqinto 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 moreName,Valuepair arguments.

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

Input Arguments

collapse all

Amino acid or nucleotide sequence, specified as:

Name-Value Arguments

Specify optional comma-separated pairs ofName,Valuearguments.Nameis the argument name andValueis the corresponding value.Namemust appear inside quotes. You can specify several name and value pair arguments in any order asName1,Value1,...,NameN,ValueN.

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

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

Example:'Alphabet','AA'

Examples

collapse all

Retrieve a sequence from the GenBank®database.

S = getgenbank('M10051');

Load the sequence into the Sequence Viewer app.

seqviewer(S)

Alternatively, you can click Sequence Viewer on theAppstab to open the app, and view the biological sequenceS.

Close the app.

seqviewer('close')
Introduced before R2006a