pfamhmmread

Read data from a PFAM-HMM file

Syntax

Data = pfamhmmread('File')

Arguments

File

PFAM-HMM formatted 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 of a PFAM-HMM file.

Description

pfamhmmread reads data from a PFAM-HHM formatted file (file saved with the function gethmmprof) and creates a MATLAB structure.

Data = pfamhmmread('File') reads from File a Hidden Markov Model described by the PFAM format, and converts it to the MATLAB structure Data, containing fields corresponding to annotations and parameters of the model. For more information about the model structure format, see hmmprofstruct. File can also be a URL or a MATLAB cell array that contains the text of a PFAM formatted file.

pfammread is based on the HMMER 2.0 file formats.

Examples

pfamhmmread('pf00002.ls')

site='http://www.sanger.ac.uk/'; 
pfamhmmread([site 'cgi-bin/Pfam/download_hmm.pl?id=7tm_2'])

See Also

Bioinformatics Toolbox functions gethmmalignment, gethmmprof, hmmprofalign, hmmprofstruct, showhmmprof


© 1994-2005 The MathWorks, Inc.