prune_tree_by_rid

DatabaseGTDB.prune_tree_by_rid(ids)

Prune the reference tree and keep ids

Parameters

ids (Union[Sequence[Union[str, int]], numpy.ndarray, pandas.core.indexes.base.Index, str, int]) – Target rids or tips of the tree to keep.

Returns

Return type

Pruned reference phylogenetic tree