Read data from GenPept file
GenPeptData = genpeptread(File)
Either of the following:
|GenPeptData||MATLAB structure or array of structures containing fields corresponding to GenPept keywords.|
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.
GenPeptData = genpeptread(File) reads a GenPept-formatted 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 http://www.ncbi.nlm.nih.gov/Sitemap/samplerecord.html.
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')