This directory contains a coherent, merged lexical index for the following resources:
- Medical Subject Headings (MeSH) (children of
mesh:D002477
) - Experimental Factor Ontology (EFO) (children of
efo:0000324
) - Cellosaurus
- Cancer Cell Line Encyclopedia (CCLE)
- DepMap
- BRENDA Tissue Ontology (BTO)
- Cell Ontology (CL)
- Cell Line Ontology (CLO)
The index can be regenerated with:
python generate.py
Use in Python like in the following:
import biolexica
import gilda
INDEX = "cell"
URL = f"https://github.com/biopragmatics/biolexica/raw/main/lexica/{INDEX}/terms.tsv.gz"
grounder: gilda.Grounder = biolexica.load_grounder(URL)
scored_matches = grounder.ground("HeLA")
If you've cloned the repository, you can run:
python web.py
If you have biolexica[web]
installed, you can do:
from biolexica.web import run_app
INDEX = "cell"
URL = f"https://github.com/biopragmatics/biolexica/raw/main/lexica/{INDEX}/terms.tsv.gz"
run_app(URL)