bx.phylo.newick module

Support for parsing phylogenetic tree’s in newick format.

TODO: Tree/Edge should be a generic data structure, not newick specific.

class bx.phylo.newick.Edge(length, tip)

Bases: object

pretty()
class bx.phylo.newick.NewickParser

Bases: object

Class wrapping a parser for building Trees from newick format strings

parse_string(s)
class bx.phylo.newick.Tree(label, edges=None)

Bases: object

pretty()