Documentation Center

  • Trial Software
  • Product Updates

seqviewer

Visualize and interactively explore biological sequences

Syntax

  • seqviewer('close')

Description

example

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

expand all

Seq — Amino acid or nucleotide sequencestring of single-letter codes | row vector of integers | structure | string specifying a file name

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.

'Alphabet' — Type of aligned sequences'AA' | 'NT'

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

Example: 'Alphabet','AA'

Examples

expand all

Open and View a Biological Sequence

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 the Apps tab to open the app, and view the biological sequence S.

Close the app.

seqviewer('close')

See Also

| | | | | | | | | | | | | | | | | | | | | | |

Was this topic helpful?