Trees | Indices | Help |
---|
|
I/O function wrappers for phylogenetic tree formats.
This API follows the same semantics as Biopython's SeqIO and AlignIO.
|
|||
|
|||
|
|||
|
|||
|
|
|||
supported_formats =
|
|||
__package__ =
|
|
Iteratively parse a file and return each of the trees it contains. If a file only contains one tree, this still returns an iterable object that contains one element. Example>>> trees = parse('../../Tests/PhyloXML/apaf.xml', 'phyloxml') >>> for tree in trees: ... print tree.rooted True |
Parse a file in the given format and return a single tree. Raises a |
|
supported_formats
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 20 10:37:28 2011 | http://epydoc.sourceforge.net |