oaklib.utilities.subsets.slimmer_utils

Utilities for working with ontology subsets (slims)

Functions

filter_redundant(oi, curies[, predicates])

Filters a set of nodes to the non-redundant subset.

is_redundant(oi, curie, curies[, predicates])

roll_up_to_named_subset(oi, subset, curies)

Rolls up all specified curies to a named subset, e.g. goslim_generic.

roll_up_to_subset(oi, terms_in_subset, curies)

As roll_up_to_named_subset but with an explicit list of terms to roll up to