biopython v1.71.0 Bio.Phylo.NewickIO.Parser

Parse a Newick tree given a file handle.

Based on the parser in Bio.Nexus.Trees.

Link to this section Summary

Functions

Initialize file handle for the Newick Tree

Parses the text representation into an Tree object

Instantiate the Newick Tree class from the given string

Returns a new Newick.Clade, optionally with a temporary reference to its parent clade

Parse the text stream this object was initialized with

Final processing of a parsed clade. Removes the node’s parent and returns it

Link to this section Functions

Initialize file handle for the Newick Tree.

Parses the text representation into an Tree object.

Instantiate the Newick Tree class from the given string.

Returns a new Newick.Clade, optionally with a temporary reference to its parent clade.

Parse the text stream this object was initialized with.

Link to this function process_clade()

Final processing of a parsed clade. Removes the node’s parent and returns it.