# 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: `Tree`

  NeXML Tree object.

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

    Instantiate a NeXML tree object with the given parameters.

  __annotate_func__ = None
  __annotations_cache__ = {}
  __firstlineno__ = 16
  __static_attributes__ = ('weight',)

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

  Bases: `Clade`

  NeXML Clade (sub-tree) object.

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

    Initialize parameters for NeXML Clade object.

  __annotate_func__ = None
  __annotations_cache__ = {}
  __firstlineno__ = 27
  __static_attributes__ = ('comment',)

Biopython v: 1.86

Versions
  Previous
  Latest
  Develop

Biopython Project
  Homepage
  On GitHub