You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the following command on the command line: bash run_chebi_slim.sh
This will annotate a copy of CHEBI (chebi_annotated.owl) with the slim annotation and also extract the slim.
Comment out the last command in the run_chebi_slim.sh file if you do not wish to extract the slim.
The contents of this run_chebi_slim.sh file can be run as single commands on the command line if the entire pipeline is not desired such as in the above option
To re-use for other slims/different ontologies
Rename "chebi_slim" in the extract.sparql file to the new slim name.
Replace the molecule-tree.obo file or edit the molecule-tree.obo reference in the first command in "run_chebi_slim.sh" to your file name.
Replace any mention of chebi.owl to your new desired ontology.
Ensure any other desired changed to file names are replaced in all commands.