Package Bio :: Package MEME :: Module Parser :: Class MEMEParser
[hide private]
[frames] | no frames]

Class MEMEParser

source code

ParserSupport.AbstractParser --+
                               |
                              MEMEParser

A parser for the text output of the MEME program (OBSOLETE).
Parses the output into an object of the MEMERecord class.

Methods:
parse (handle): parses the contents of the file handle passed to it.

Example:

f = open("meme.output.txt")
parser = MEMEParser()
meme_record = parser.parse(f)
for motif in meme_record.motifs:
    for instance in motif.instances:
        print instance.motif_name, instance.sequence_name, instance.strand, instance.pvalue

This class is OBSOLETE; its functionality is now available through
Bio.Motif.Parsers.MEME.

Instance Methods [hide private]
 
__init__(self)
__init__ (self)
source code
 
parse(self, handle)
parse (self, handle)
source code

Inherited from ParserSupport.AbstractParser: parse_file, parse_str

Method Details [hide private]

parse(self, handle)

source code 

parse (self, handle)

Overrides: ParserSupport.AbstractParser.parse