Utils

pyham.utils.get_newick_string(source_path, type='nwk')[source]

Get the newick tree as string from a newick file, a hdf5 file or from the note tag of an orthoXML

Args:
newick_source: path of the file
type: type of file where to fetch the newick tree. Available: “nwk”, “h5” and “orthoXML”