biopython v1.71.0 Bio.Phylo.NeXMLIO.Parser

Parse a NeXML tree given a file handle.

Based on the parser in Bio.Nexus.Trees.

Link to this section Summary

Functions

Initialize parameters for NeXML file parser

Traverse the tree creating a nested clade structure

Add annotations for the NeXML parser

Convert file handle to StringIO object

Parse the text stream this object was initialized with

Link to this section Functions

Initialize parameters for NeXML file parser.

Traverse the tree creating a nested clade structure.

Return a NeXML.Clade, and calls itself recursively for each child, traversing the entire tree and creating a nested structure of NeXML.Clade objects.

Link to this function add_annotation()

Add annotations for the NeXML parser.

Convert file handle to StringIO object.

Parse the text stream this object was initialized with.