skbio.io
skbio.sequence
skbio.alignment
skbio.tree
skbio.workflow
skbio.diversity
skbio.stats
skbio.metadata
skbio.util
TreeNode.
__str__
Returns string version of self, with names and distances
State: Experimental as of 0.4.0.
Returns a Newick representation of the tree
str
See also
read(), write()
read()
write()
Examples
>>> from skbio import TreeNode >>> tree = TreeNode.read(["((a,b)c);"]) >>> str(tree) '((a,b)c);\n'