Class MEMEParser
AbstractParser --+
|
MEMEParser
A parser for the text output of the MEME program.
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
| Method Summary |
| |
__init__(self)
__init__ (self) |
| |
parse(self,
handle)
parse (self, handle) |
| Inherited from AbstractParser |
| |
parse_file(self,
filename)
|
| |
parse_str(self,
string)
|
__init__(self)
(Constructor)
__init__ (self)
-
|