infer_topology_by_tid

DatabaseSILVA.infer_topology_by_tid(ids, subreps=False, include_rid=False)

Quickly infers topology from tree node map.

Parameters
  • ids (Union[Sequence[Union[str, int]], numpy.ndarray, pandas.core.indexes.base.Index, str, int]) – Tips to keep.

  • subreps (bool) – Whether to look for subs.

  • include_rid (bool) – Whether to keep phylogeny with rids attached to tids.

Returns

Return type

Pruned reference phylogenetic tree.