fastainfo
Return information about FASTA file
Description
Examples
Get Summary Information about FASTA File
info = fastainfo('ex1ref.fasta')
info = struct with fields:
Filename: 'ex1ref.fasta'
FilePath: '/mathworks/devel/bat/filer/batfs2561-0/Bdoc24b.2679053/build/runnable/matlab/toolbox/bioinfo/bioinfodata'
FileModDate: '07-May-2010 16:12:06'
FileSize: 1612
NumberOfEntries: 1
Header: 'Reference for ex1'
Length: 1569
Input Arguments
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.
Data Types: double
Complex Number Support: Yes
Output Arguments
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 |
---|---|
| Name of the file. |
| Path to the file. |
| Modification date of the file. |
| Size of the file in bytes. |
| Number of sequence entries in the file. |
| If |
| If |
Version History
Introduced in R2009b
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)