Bio.Phylo.NeXML module

Classes corresponding to NeXML trees.

See classes in Bio.Nexus: Trees.Tree, Trees.NodeData, and Nodes.Chain.

class Bio.Phylo.NeXML.Tree(root=None, rooted=False, id=None, name=None, weight=1.0)

Bases: Bio.Phylo.BaseTree.Tree

NeXML Tree object.

__init__(self, root=None, rooted=False, id=None, name=None, weight=1.0)

Instantiate a NeXML tree object with the given parameters.

class Bio.Phylo.NeXML.Clade(branch_length=1.0, name=None, clades=None, confidence=None, comment=None, **kwargs)

Bases: Bio.Phylo.BaseTree.Clade

NeXML Clade (sub-tree) object.

__init__(self, branch_length=1.0, name=None, clades=None, confidence=None, comment=None, **kwargs)

Initialize parameters for NeXML Clade object.