Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add goals to generate a mapping change diff report #7962

Merged
merged 5 commits into from
Jul 25, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions src/ontology/mondo.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,38 @@ release_diff: reports/mondo_release_diff.md
all: reports/mondo_release_diff.md
all: reports/mondo_obsoletioncandidates.tsv

##################
### KGCL Diff ####
##################

KGCL_ONTOLOGY=mondo-base.obo

all: kgcl-diff

.PHONY: kgcl-diff
kgcl-diff: kgcl-diff-release-base

.PHONY: kgcl-diff-release-base
kgcl-diff-release-base: reports/difference_release_base.yaml \
reports/difference_release_base.tsv \
reports/difference_release_base.md

tmp/mondo-released.obo: .FORCE
wget http://purl.obolibrary.org/obo/mondo/$(KGCL_ONTOLOGY) -O $@

reports/difference_release_base.md: tmp/mondo-released.obo $(KGCL_ONTOLOGY)
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:$(KGCL_ONTOLOGY) -o $@ --output-type md

reports/difference_release_base.tsv: tmp/mondo-released.obo $(KGCL_ONTOLOGY)
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:$(KGCL_ONTOLOGY) \
-o $@ --output-type csv --statistics --group-by-property oio:hasOBONamespace

reports/difference_release_base.txt: tmp/mondo-released.obo $(KGCL_ONTOLOGY)
matentzn marked this conversation as resolved.
Show resolved Hide resolved
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:$(KGCL_ONTOLOGY) -o $@ --output-type kgcl

reports/difference_release_base.yaml: tmp/mondo-released.obo $(KGCL_ONTOLOGY)
runoak -i simpleobo:tmp/mondo-released.obo diff -X simpleobo:$(KGCL_ONTOLOGY) -o $@ --output-type yaml

###########################
## MONDO VIEW GENERATION ##
###########################
Expand Down
Loading