Skip to content

Commit

Permalink
Adding mondo-with-equivalents back
Browse files Browse the repository at this point in the history
In case we cant resolve #7912 we should consider adding it back..
  • Loading branch information
matentzn committed Aug 9, 2024
1 parent 80dbea6 commit e4b0c08
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ ADDITIONAL_REPORT_FILES = reports/semantic-xref-pairs.tsv
REPORT_FILES = $(MAIN_REPORT_FILES) $(ADDITIONAL_REPORT_FILES)


MAIN_PRODUCTS = $(ONT) $(ONT)-base $(ONT)-simple
MAIN_PRODUCTS = $(ONT) $(ONT)-base $(ONT)-simple $(ONT)-with-equivalents
MAIN_FILES = $(foreach n,$(MAIN_PRODUCTS), $(n).owl $(n).obo $(n).json) $(ONT)_nodes.tsv $(ONT)_edges.tsv
EQUIVALENTS_FILES=imports/equivalencies
EQUIVALENTS = $(foreach n, $(EQUIVALENTS_FILES), $(n).owl $(n).obo $(n).json)
Expand Down Expand Up @@ -257,6 +257,14 @@ $(ONT).json: $(ONT).owl
$(ROBOT) convert --input $< --check false -f json -o $@.tmp.json &&\
mv $@.tmp.json $@

$(ONT)-with-equivalents.owl: reasoned-plus-equivalents.owl
$(ROBOT) annotate -i $< -V $(ONTURI)/releases/`date +%Y-%m-%d`/$(ONT).owl -o $@

$(ONT)-with-equivalents.obo: $(ONT)-with-equivalents.owl
$(OWL2OBO)
$(ONT)-with-equivalents.json: $(ONT)-with-equivalents.owl
$(ROBOT) convert -i $< -o $@.tmp.json && mv $@.tmp.json $@

$(ONT)_nodes.tsv $(ONT)_edges.tsv: $(ONT).json
kgx transform --input-format obojson --output-format tsv --output $(ONT) $< && test -f $(ONT)_nodes.tsv

Expand Down

0 comments on commit e4b0c08

Please sign in to comment.