GuideTree#
- class pyfamsa.GuideTree#
A guide tree generated from several sequences.
Guide trees are binary trees, stored as an array which contains the two children nodes for each node (or -1 for leaves). Nodes can be iterated upon.
- dump(file)#
Write the tree into a file in Newick format.
- Parameters:
file (
str,bytes, `os.PathLikeor file-like object) – The path to a file, or a file-like object open in binary mode.