Bio.Phylo.Newick module
Classes corresponding to Newick trees, also used for Nexus trees.
See classes in Bio.Nexus
: Trees.Tree, Trees.NodeData, and Nodes.Chain.
- class Bio.Phylo.Newick.Tree(root=None, rooted=False, id=None, name=None, weight=1.0)
Bases:
Tree
Newick Tree object.
- __init__(root=None, rooted=False, id=None, name=None, weight=1.0)
Initialize parameters for a Newick tree object.
- __annotations__ = {}
- __firstlineno__ = 16
- __static_attributes__ = ('weight',)
- class Bio.Phylo.Newick.Clade(branch_length=None, name=None, clades=None, confidence=None, comment=None)
Bases:
Clade
Newick Clade (sub-tree) object.
- __init__(branch_length=None, name=None, clades=None, confidence=None, comment=None)
Initialize parameters for a Newick Clade object.
- __annotations__ = {}
- __firstlineno__ = 27
- __static_attributes__ = ('comment',)