torchcell.ontology

Helpers for inspecting the torchcell BioCypher ontology. The print_* functions in tc_ontology print the ontology structure, a summary and the schema mappings; the mermaid_diagram module (not re-exported) renders the BioCypher schema as a Mermaid diagram.

Functions

print_ontology_structure

Print the BioCypher ontology structure from schema config.

print_ontology_summary

Print ontology summary with validation checks.

print_schema_mappings

Print a simple visualization of schema entities and their Biolink mappings.