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; please use the read() function in this module
instead.