EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
96 stars 40 forks source link

Remove an ontology from OLS #428

Closed jiaola closed 3 years ago

jiaola commented 3 years ago

Hello! I'm a newbie to OLS. I set up a local OLS by running the dockerized containers with docker-compose. I was able to load some ontologies.

Is there any way to unload an ontology in OLS? The ontology has been imported with the ebispot/ols-config-importer, and the terms are indexed with ebispot/ols-indexer.

Before the ontology was indexed, I could simply remove it from the mongo db. But after the indexing, I'm not certain how to remove the ontology terms and the configuration cleanly.

Thanks!

jamesamcl commented 3 years ago

Hi! You should be able to use the -d argument to the indexer. For example, to remove efo:

docker run --net=host -v ols-neo4j-data:/mnt/neo4j -v ols-downloads:/mnt/downloads ebispot/ols-indexer:stable \
    -d efo
jiaola commented 3 years ago

It works as described. Thank you!

matentzn commented 3 years ago

@jiaola Hey, I am trying to create an overview of existing OntoTools (OLS, OxO) installations - Is yours by any chance public?

jiaola commented 3 years ago

@matentzn Not yet. I'm still working on it. But I'll let you know as soon as it is.

matentzn commented 3 years ago

Thank you very much :)

matentzn commented 3 years ago

BTW, this might be interesting: https://github.com/monarch-ebi-dev/ontotools-docker-config