genpeptread
Read data from GenPept file
Syntax
GenPeptData
= genpeptread(File
)
GenPeptData
= genpeptread(File
,
'TimeOut', TimeOutValue
)
Arguments
File | Either of the following:
Tip You can use the |
TimeOutValue | Connection timeout in seconds, specified as a positive scalar. The default value is 5. For details, see here. |
GenPeptData | MATLAB structure or array of structures containing fields corresponding to GenPept keywords. |
Description
Note
NCBI has changed the name of their protein search engine from
GenPept to Entrez Protein. However, the function names in the Bioinformatics Toolbox™ software
(getgenpept
and genpeptread
)
are unchanged representing the still-used GenPept report format.
reads a GenPept-formatted file, GenPeptData
= genpeptread(File
)File
, and creates
GenPeptData
, a structure or array of structures,
containing fields corresponding to the GenPept keywords. When
File
contains multiple entries, each entry is stored as a
separate element in GenPeptData
. For a list of the GenPept
keywords, see https://www.ncbi.nlm.nih.gov/Sitemap/samplerecord.html.
sets the connection timeout (in seconds) to read data from a remote file or URL.GenPeptData
= genpeptread(File
,
'TimeOut', TimeOutValue
)
Examples
Retrieve sequence information for the protein coded by the HEXA gene, store the data in a file, and then read into the MATLAB software.
getgenpept('p06865', 'ToFile', 'TaySachs_Protein.txt') genpeptread('TaySachs_Protein.txt')
Version History
Introduced before R2006a
See Also
fastaread
| genbankread
| getgenpept
| pdbread
| seqviewer