fastaread
Read data from FASTA file
Syntax
Description
returns the sequence data from the input FASTA fastaStruct
= fastaread(file
)file
as a
structure.
uses additional options specified by one or more name-value arguments. For example,
fastaStruct
= fastaread(file
,Name=Value
)seqdata = fastaread(fastafile,IgnoreGaps=true)
removes any gap symbol
(-
or .
) from the sequences.
[
returns the sequence data as separate variables: header
,sequence
] = fastaread(___)header
and
sequence
. You can specify any of the input argument combinations in
the previous syntaxes. If the file contains multiple sequences, header
and sequences
are cell arrays of sequence header and nucleotide or
amino acid sequence information.
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Version History
Introduced before R2006a
See Also
aminolookup
| baselookup
| BioIndexedFile
| emblread
| fastainfo
| fastawrite
| fastqinfo
| fastqread
| fastqwrite
| genbankread
| genpeptread
| multialignread
| saminfo
| samread
| seqprofile