Skip to content

Commit

Permalink
Make base for GO import (#3097)
Browse files Browse the repository at this point in the history
* `make_base` for GO import

* refresh imports

* add mirror_from `go-base.owl`

Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>

* update imports

---------

Co-authored-by: Anita Caron <anitacaron@users.noreply.github.com>
Co-authored-by: Nico Matentzoglu <nicolas.matentzoglu@gmail.com>
  • Loading branch information
3 people authored Oct 25, 2023
1 parent d90baff commit 21e7141
Show file tree
Hide file tree
Showing 3 changed files with 443 additions and 820 deletions.
5 changes: 3 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -427,8 +427,9 @@ mirror-cl: | $(TMPDIR)
.PHONY: mirror-go
.PRECIOUS: $(MIRRORDIR)/go.owl
mirror-go: | $(TMPDIR)
if [ $(MIR) = true ] && [ $(IMP) = true ]; then curl -L $(OBOBASE)/go/go-base.owl --create-dirs -o $(MIRRORDIR)/go.owl --retry 4 --max-time 200 &&\
$(ROBOT) convert -i $(MIRRORDIR)/go.owl -o $@.tmp.owl && mv $@.tmp.owl $(TMPDIR)/$@.owl; fi
if [ $(MIR) = true ] && [ $(IMP) = true ]; then $(ROBOT) convert -I http://purl.obolibrary.org/obo/go/go-base.owl -o $@.tmp.owl && \
$(ROBOT) remove -i $@.tmp.owl --base-iri http://purl.obolibrary.org/obo/GO_ --base-iri http://purl.obolibrary.org/obo/GOREL_ --base-iri http://purl.obolibrary.org/obo/GOCHE_ --axioms external --preserve-structure false --trim false -o $@.tmp.owl &&\
mv $@.tmp.owl $(TMPDIR)/$@.owl; fi


## ONTOLOGY: envo
Expand Down
Loading

0 comments on commit 21e7141

Please sign in to comment.