emblread
Read data from EMBL file
Syntax
EMBLData
= emblread(File
)
EMBLSeq
= emblread (File
,
'SequenceOnly', SequenceOnlyValue
)
EMBLSeq
= emblread (File
,
'TimeOut', TimeOutValue
)
Input Arguments
File | Either of the following:
Tip You can use the |
SequenceOnlyValue | Controls the reading of only the sequence without the metadata.
Choices are true or false (default). |
TimeOutValue | Connection timeout in seconds, specified as a positive scalar. The default value is 5. For details, see here. |
Output Arguments
EMBLData | Structure with fields corresponding to EMBL data. |
EMBLSeq | Character vector representing the sequence. |
Description
reads
data from EMBLData
= emblread(File
)File
, an EMBL-formatted file,
and creates EMBLData
, a MATLAB structure
containing fields corresponding to the EMBL two-character line type
code, based on release 107 of the EMBL-Bank flat file format. Each
line type code is stored as a separate element in the structure. For
a list of the EMBL two-character line type codes, see ftp://ftp.ebi.ac.uk/pub/databases/embl/doc/usrman.txt.
Note
Topology information was not included in EMBL flat files before
release 87 of the database. When reading a file created before release
87, EMBLREAD returns an empty Identification.Topology
field.
Note
The entry name is no longer displayed in the ID line of EMBL
flat files in release 87. When reading a file created in release 87,
EMBLREAD returns the accession number in the Identification.EntryName
field.
controls
the reading of only the sequence without the metadata. Choices are EMBLSeq
= emblread (File
,
'SequenceOnly', SequenceOnlyValue
)true
or false
(default).
sets the connection timeout (in seconds) to read data from a remote file or URL.EMBLSeq
= emblread (File
,
'TimeOut', TimeOutValue
)
Examples
Version History
Introduced before R2006a
See Also
fastaread
| genbankread
| genpeptread
| getembl
| pdbread
| seqviewer