pirread

Read data from PIR file

Syntax

PIRData = pirread('File')
pirread('String')

Arguments

File

Protein Information Resource (PIR-PSD) 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 PIR-PSD file.

String

Character string with PIR data.

Description

PIRData = pirread('File') reads data from a Protein Information Resource (PIR-PSD) formatted file File and creates a MATLAB structure PIRData with the following fields:

Entry
EntryType
Title
Organism
Date
Accessions
Reference
Genetics
Classification
Keywords
Feature
Summary
Sequence: [1x105 char]

pirread('String') attempts to retrieve PIR data from the string String.

For more information on the PIR-PSD database, see

http://pir.georgetown.edu      

Examples

Get protein information for cytochrome C from the PIR-PSD database, save the information in the file cchu.txt, and then read the information back into MATLAB.

getpir('cchu', 'ToFile', 'cchu.txt')
pirdata = pirread('cchu.txt')

See Also

Bioinformatics Toolbox functions genpeptread, getpir, pdbread


© 1994-2005 The MathWorks, Inc.