| Trees | Indices | Help |
|
|---|
|
|
object --+
|
list --+
|
Record
The class for holding the results from a MAST run.
A mast.Record holds data about matches between motifs and sequences.
The motifs held by the Record are objects of the class meme.Motif.
The mast.Record class inherits from list, so you can access individual
motifs in the record by their index. Alternatively, you can find a motif
by its name:
>>> f = open("mast.output.txt")
>>> from Bio import motifs
>>> record = motifs.parse(f, 'MAST')
>>> motif = record[0]
>>> print motif.name
1
>>> motif = record['1']
>>> print motif.name
1
|
|||
new list |
|
||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
x[y]
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 18:02:53 2013 | http://epydoc.sourceforge.net |