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
Link to this function
__init__()
Initialize parameters for NeXML file parser.
Link to this function
_make_tree()
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.
Link to this function
from_string()
Convert file handle to StringIO object.
Link to this function
parse()
Parse the text stream this object was initialized with.