OBOFoundry / OBO-Dashboard

Summary Dashboard for Open Biological and Biomedical Ontologies
http://dashboard.obofoundry.org/
20 stars 3 forks source link

Update scripts to run over a single ontology with local files #3

Open jamesaoverton opened 4 years ago

jamesaoverton commented 4 years ago

Required for #2. The current code is designed to run over the full set of published files and registry entries for all OBO projects, but we also need to be able to run for a single ontology's local files: an OWL file and maybe a local copy of their OBO registry YAML/Markdown file. It needs to generate all the dashboard files for a single ontology, especially dashboard.html. We want to be able to run this easily from an ODK Makefile.

The simplest thing is to copy some files into place, override the ONTS variable, and run make. This seems crude. It might be better to modify dashboard.py with some optional arguments.

jamesaoverton commented 4 years ago

4 goes a long way to addressing this. Once that PR is merged, we'll play with a simple ODK project such as https://github.com/obophenotype/c-elegans-phenotype-ontology and see how it goes.

matentzn commented 4 years ago

I dont want to complicate things, but what would be great if the set of ontologies by the dashboard in OBO foundry mode (non-local mode) could be configured to a set of ontologies. I feel responsible for the metadata and continuous cleaning of ca. 30 ontologies, and I would kinda like to see only those on the dashboard :P Dont mind me if this is to complex, really just a nice to have.

jamesaoverton commented 4 years ago

Yes, running on an arbitrary set of ontologies is an important use case that we should be explicit about.

Fortunately it's easy, and already covered in the README: ONTS="obi go eco" make all

https://github.com/OBOFoundry/OBO-Dashboard#running-over-multiple-ontologies

matentzn commented 4 years ago

Amazing! :) Thanks.