Skip to content

Commit

Permalink
Regenerated so-import with new configuration to strip non-is-a
Browse files Browse the repository at this point in the history
this is because SO has fake part-ofs that are confusing both to curators
and unfortunately to software (this will be fixed)
see owlcollab/owltools#238

this is a partial fix to geneontology/go-site#524
however, the software needs to be more more robust
  • Loading branch information
cmungall committed Feb 3, 2018
1 parent 6b41d41 commit 388f07d
Show file tree
Hide file tree
Showing 3 changed files with 866 additions and 1,023 deletions.
7 changes: 6 additions & 1 deletion src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ clean_imports:
rm mirror/*

seed.txt: enhanced.owl
$(ROBOT) query -i $< --select ../sparql/terms.sparql $@
$(ROBOT) query -f csv -i $< --select ../sparql/terms.sparql $@

imports/%_terms_combined.txt: imports/%_terms.txt seed.txt
cat $^ > $@
Expand Down Expand Up @@ -323,6 +323,7 @@ mirror/cl-download.owl: $(SRC)
wget --no-check-certificate $(OBO)/cl/cl-basic.obo $(WGET_OUT)
.PRECIOUS: mirror/cl-download.owl


# special case: the RO imports closure is unusual
# typically we use only the main ontology, not the imports.
# for RO we merge these, in order to get ro/core, bfo classes
Expand All @@ -349,6 +350,10 @@ mirror/uberon.owl: mirror/uberon-download.owl
$(OWLTOOLS) --use-catalog $< --remove-equivalent-to-nothing-axioms --remove-classes-in-idspace -d -s CHEBI --remove-classes-in-idspace -d -s NBO --remove-classes-in-idspace -d -s CARO --remove-classes-in-idspace -d -s CL $(FILTER_EXTERNAL) -o $@
.PRECIOUS: mirror/uberon.owl

mirror/so.owl: mirror/so-download.owl
$(OWLTOOLS) --use-catalog $< --make-subset-by-properties // -o $@
.PRECIOUS: mirror/uberon.owl

mirror/%.owl: mirror/%-download.owl
$(OWLTOOLS) $< $(FILTER_EXTERNAL) -o $@
.PRECIOUS: mirror/%.owl
Expand Down
Loading

0 comments on commit 388f07d

Please sign in to comment.