Format long sequence output for easy viewing
seqdisp(
Seq
)
seqdisp(Seq
,……”Row',RowValue
,……)
seqdisp(Seq
,……”Column',ColumnValue
,……)
seqdisp(Seq
,……”ShowNumbers',ShowNumbersValue
,……)
Seq |
Nucleotide or amino acid sequence represented by any of the following:
Multiply aligned sequences are allowed. FASTA files can have the file extension |
RowValue |
整数,指定的长度each row. Default is60 . |
ColumnValue |
Integer that specifies the column width or number of symbols before displaying a space. Default is10 . |
ShowNumbersValue |
Controls the display of numbers at the start of each row. Choices aretrue (default) to show numbers, orfalse to hide numbers. |
seqdisp(
displays a sequence in rows, with a default row length of 60 and a default column width ofSeq
)10
.
seqdisp(
callsSeq
,……”PropertyName
',PropertyValue
,……)seqdisp
with optional properties that use property name/property value pairs. You can specify one or more properties in any order. EachPropertyName
must be enclosed in single quotation marks and is case insensitive. These property name/property value pairs are as follows:
seqdisp(
specifies the length of each row for the displayed sequence.Seq
,……”Row',RowValue
,……)
seqdisp(
specifies the number of letters to display before adding a space.Seq
,……”Column',ColumnValue
,……)RowValue
must be larger than and evenly divisible byColumnValue
.
seqdisp(
controls the display of numbers at the start of each row. Choices areSeq
,……”ShowNumbers',ShowNumbersValue
,……)true
(default) to show numbers, orfalse
to hide numbers.
Read sequence information from the GenBank®database. Display the sequence in rows with 50 letters, and within a row, separate every 10 letters with a space.
mouseHEXA = getgenbank('AK080777'); seqdisp(mouseHEXA, 'Row', 50, 'Column', 10)
Create and save a FASTA file with two sequences, and then display it.
hdr = ['Sequence A'; 'Sequence B']; seq = ['TAGCTGRCCAAGGCCAAGCGAGCTTN';'ATCGACYGGTTCCGGTTCGCTCGAAN'] fastawrite('local.fa', hdr, seq); seqdisp('local.fa', 'ShowNumbers', false') ans = >Sequence A 1 TAGCTGRCCA AGGCCAAGCG AGCTTN >Sequence B 1 ATCGACYGGT TCCGGTTCGC TCGAAN
getgenbank
|multialignread
|multialignwrite
|seqconsensus
|seqlogo
|seqprofile
|seqshoworfs
|seqviewer