file — FASTA file character vector | string | character array
FASTA file, specified as one of the following:
Character vector or string specifying a FASTA file name, path and name of a
FASTA file, or URL pointing to a FASTA file. If you specify only a file name, the
file must be on the MATLAB® search path or in the current folder.
Character array containing the text of a FASTA file.
Data Types: char | string
TO — Connection timeout 5 (default) | positive scalar
Connection timeout to read data from a remote file, specified as a positive scalar.
For details, see here.
info — Summary information about FASTA file structure
Summary information about the FASTA file, returned as a structure. The structure
contains the following fields.
Field
Description
Filename
Name of the file.
FilePath
Path to the file.
FileModDate
Modification date of the file.
FileSize
Size of the file in bytes.
NumberOfEntries
Number of sequence entries in the file.
Header
If file contains only one sequence, then this
is a character vector containing the header information from the FASTA file.
Otherwise, this field is empty.
Length
If file contains only one sequence, then this
is a scalar specifying the length of the sequence. Otherwise, this field is
empty.
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.