Slim Manager

Use pandasaurus.slim_manager.SlimManager to explore ontology slims (subset tags) and retrieve the CURIEs they reference.

Typical scenarios:

  • Enumerate slims available in an ontology via get_slim_list().

  • Expand your seed list with all members of one or more slims via get_slim_members().

Class Reference

class pandasaurus.slim_manager.SlimManager[source]

SlimManager responsible for slim operations such as finding available slim in given ontologies and showing slim content.

static get_slim_list(ontology: str) List[Dict[str, str]][source]

Returns name and definition of available slims in given ontology.

Parameters:

ontology – Ontology name

Returns:

Slim names and definitions list

static get_slim_members(slim_list: List[str]) List[str][source]

Lists names and IDs of all terms in slim.

Parameters:

slim_list – A list of slim names

Returns:

Term IRIs of the slim members