Skip to content

Commit

Permalink
Merge pull request #1989 from monarch-initiative/fix-make-2020-09-14
Browse files Browse the repository at this point in the history
Update HGNC goal which was broken
  • Loading branch information
nicolevasilevsky authored Sep 14, 2020
2 parents 990d3a0 + 09ab406 commit 86c0d7b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,10 @@ mirror/dipper-%.obo: mirror/dipper-%.ttl
robot convert -i $< -o $@.tmp.obo && grep -v ^owl-axioms $@.tmp.obo > $@

mirror/hgnc.owl: mirror/dipper-hgnc.ttl
robot query --format ttl -c ../sparql/construct-hgnc.sparql $@ -i $<
robot query -i $< --format ttl -c ../sparql/construct-hgnc.sparql $@ \
annotate --annotation http://purl.org/dc/elements/1.1/type http://purl.obolibrary.org/obo/IAO_8000001 \
--ontology-iri $(ONTBASE)/$@ --version-iri $(ONTBASE)/releases/$(TODAY)/$@ \
--output $@.tmp.owl && mv $@.tmp.owl $@
# robot query construct
# owltools $< --remove-axioms -t EquivalentClasses -o $@
# owltools $< --remove-dangling -o $@
Expand Down
2 changes: 1 addition & 1 deletion src/ontology/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
# we therefore map the whole repo (../..) to a docker volume.
#
# See README-editors.md for more details.
docker run --memory=8g -e ROBOT_JAVA_ARGS='-Xmx15G' -e JAVA_OPTS='-Xmx15G' -v $PWD/../../:/work -w /work/src/ontology --rm -ti obolibrary/odkfull "$@"
docker run --memory=8g -e ROBOT_JAVA_ARGS='-Xmx8G' -e JAVA_OPTS='-Xmx8G' -v $PWD/../../:/work -w /work/src/ontology --rm -ti obolibrary/odkfull "$@"

0 comments on commit 86c0d7b

Please sign in to comment.