classmethod TreeNode.from_file(tree_f)[source]

Load a tree from a file or file-like object


Deprecated in scikit-bio 0.2.0-dev from_file will be removed in scikit-bio 0.3.0. It is replaced by read, which is a more general method for deserializing TreeNode instances. read supports multiple file formats, automatic file format detection, etc. by taking advantage of scikit-bio’s I/O registry system. See for more details.