Skip to content

Commit

Permalink
ICD11 Ingest
Browse files Browse the repository at this point in the history
- Update: mondo-ingest.Makefile
  - Add: $(COMPONENTSDIR)/icd11.owl

WIP
  • Loading branch information
joeflack4 committed Feb 23, 2024
1 parent 33b186e commit 6477ae5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 32 deletions.
17 changes: 17 additions & 0 deletions src/ontology/mondo-ingest.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,23 @@ $(COMPONENTSDIR)/icd10who.owl: $(TMPDIR)/icd10who_relevant_signature.txt | compo
remove -T config/properties.txt --select complement --select properties --trim true \
annotate --ontology-iri $(URIBASE)/mondo/sources/icd10who.owl --version-iri $(URIBASE)/mondo/sources/$(TODAY)/icd10who.owl -o $@; fi

# TODO: do
# TODO: remove any unnecessary queries / lines here
# - fix_hgnc_mappings
# - maybe make a comment about other ones i thought to delete
$(COMPONENTSDIR)/icd11.owl: $(TMPDIR)/icd11_relevant_signature.txt | component-download-icd11.owl
if [ $(COMP) = true ] ; then $(ROBOT) remove -i $(TMPDIR)/component-download-icd11.owl.owl --select imports \
rename --mappings config/property-map-1.sssom.tsv --allow-missing-entities true \
rename --mappings config/property-map-2.sssom.tsv --allow-missing-entities true \
remove -T $(TMPDIR)/icd11_relevant_signature.txt --select complement --select "classes individuals" --trim false \
remove -T $(TMPDIR)/icd11_relevant_signature.txt --select individuals \
query \
--update ../sparql/fix-labels-with-brackets.ru \
--update ../sparql/fix_hgnc_mappings.ru \
--update ../sparql/fix_complex_reification.ru \
remove -T config/properties.txt --select complement --select properties --trim true \
annotate --ontology-iri $(URIBASE)/mondo/sources/icd11.owl --version-iri $(URIBASE)/mondo/sources/$(TODAY)/icd11.owl -o $@; fi

.PHONY: component-download-gard.owl
component-download-gard.owl: | $(TMPDIR)
if [ $(MIR) = true ] && [ $(COMP) = true ]; then $(ROBOT) merge -I https://github.com/monarch-initiative/gard/releases/latest/download/gard.owl \
Expand Down
32 changes: 0 additions & 32 deletions src/sparql/icd11foundation-relevant-diseases.sparql

This file was deleted.

0 comments on commit 6477ae5

Please sign in to comment.