| Bioinformatics Toolbox | ![]() |
Read data from EMBL file
EMBLData = emblread('File',
'PropertyName', PropertyValue)
emblread(..., 'SequenceOnly', SequenceOnlyValue)
File | EMBL formatted file (ASCII text file). Enter a filename, a path and filename, or a URL pointing to a file. File can also be a MATLAB character array that contains the text for a filename. |
SequenceOnly | Property to control reading only the sequence. Enter true. |
EMBLData | MATLAB structure with fields corresponding to EMBL data. |
EMBLSeq | MATLAB character string without metadata for the sequence. |
EMBLData = emblread('File', 'PropertyName', PropertyValue...) reads data from an EMBL formatted file (File) and creates a MATLAB structure (EMBLData) with fields corresponding to the EMBL two-character line type code. Each line type code is stored as a separate element in the structure.
EMBLData for the 137.0 version contains the following fields:
Comments
Identification
Accession
SequenceVersion
Datecreated
Dateupdated
Description
Keyword
OrganismSpecies
OorganismClassification
Organelle
Reference.Number
Reference.Comment
Reference.Position
Reference{#}.MedLine
Referemce{#}.PubMed
Reference.Authors
Reference.Title
Reference.Location
DatabaseCrossReference
Feature
Basecount
Sequence
Seq = emblread('File', 'SequenceOnly', SequenceOnlyValue), when SequenceOnly is true, reads only the sequence information .
Get sequence information from the web, save to a file, and then read back into MATLAB.
getembl('X00558','ToFile','rat_protein.txt');
EMBLData = emblread('rat_protein.txt')
Bioinformatics Toolbox functions getembl, fastaread, genbankread, genpeptread, pirread, pdbread
| dolayout (biograph) | exprprofrange | ![]() |
© 1994-2005 The MathWorks, Inc.