Skip to content

Commit

Permalink
Pruning bspo import
Browse files Browse the repository at this point in the history
  • Loading branch information
matentzn committed Sep 8, 2021
1 parent 79abc2e commit 9a9902d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -171,3 +171,4 @@ src/ontology/composite-metazoan-last-release.owl
src/ontology/basic.json
src/ontology/basic.obo
src/ontology/basic.owl
src/ontology/test_obo_serialiser.sh
4 changes: 4 additions & 0 deletions src/ontology/uberon.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,10 @@ subsets/cumbo.obo: subsets/cumbo.owl
# The typical pipeline (see uberon-qc) is to first make imports, then the rest of the release

# merge BSPO into RO
mirror/bspo.owl: mirror/bspo.trigger
if [ $(MIR) = true ] && [ $(IMP) = true ]; then $(ROBOT) merge -I $(URIBASE)/bspo.owl remove --select "BFO:* RO:*" --select "object-properties" --axioms "annotation" -o $@.tmp.owl && mv $@.tmp.owl $@; fi
.PRECIOUS: mirror/bspo.owl

mirror/ro.owl: $(OWLSRC) mirror/bspo.owl
if [ $(MIR) = true ] && [ $(IMP) = true ]; then owltools $(URIBASE)/ro.owl mirror/bspo.owl --merge-support-ontologies --merge-imports-closure --add-obo-shorthand-to-properties -o $@ && touch $@; fi

Expand Down

0 comments on commit 9a9902d

Please sign in to comment.