Skip to content

Commit

Permalink
Feature: Exclusion tables
Browse files Browse the repository at this point in the history
- Update: TODOs
- Update: Utilizing `base_prefix_map` now instead of `prefix_map` from ontology metadata `.yml` files.
- Update: get-terms-children.sparql.jinja2: Always using rdfs:subClassOf* instead of a + at the end. Updated Python code to reflect.
- Update: Makefile target: Now explicitly passes params again.
- Added: New exclusion files: ORDO, DO. Still pending NCIT after resolving Java heap space issue.
  • Loading branch information
joeflack4 committed Jul 25, 2022
1 parent 6df216a commit 8497809
Show file tree
Hide file tree
Showing 17 changed files with 28,741 additions and 6,357 deletions.
2,461 changes: 2,461 additions & 0 deletions src/ontology/config/doid_exclusion_reasons.robot.template.tsv

Large diffs are not rendered by default.

2,459 changes: 2,459 additions & 0 deletions src/ontology/config/doid_term_exclusions.txt

Large diffs are not rendered by default.

11,457 changes: 11,457 additions & 0 deletions src/ontology/config/ordo_exclusion_reasons.robot.template.tsv

Large diffs are not rendered by default.

11,455 changes: 11,455 additions & 0 deletions src/ontology/config/ordo_term_exclusions.txt

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions src/ontology/mondo-ingest.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,14 @@ update-jinja-sparql-queries: python-install-dependencies
python3 $(SCRIPTSDIR)/ordo_mapping_annotations/create_sparql__ordo_replace_annotation_based_mappings.py
python3 $(SCRIPTSDIR)/ordo_mapping_annotations/create_sparql__ordo_mapping_annotations_violation.py

config/%_term_exclusions.txt: config/%_exclusions.tsv component-download-%.owl $(TMPDIR)/%_relevant_signature.txt python-install-dependencies
python3 $(SCRIPTSDIR)/exclusion_term_expansion.py --onto-name $*
config/%_term_exclusions.txt: config/%_exclusions.tsv component-download-%.owl $(REPORTDIR)/mirror_signature-%.tsv $(REPORTDIR)/component_signature-%.tsv metadata/%.yml python-install-dependencies
python3 $(SCRIPTSDIR)/exclusion_term_expansion.py \
--onto-name $* \
--exclusions-path $(word 1,$^) \
--onto-path $(TMPDIR)/$(word 2,$^).owl \
--mirror-signature-path $(word 3,$^) \
--component-signature-path $(word 4,$^) \
--config-path $(word 5,$^)

#################
# Documentation #
Expand Down
6,175 changes: 382 additions & 5,793 deletions src/ontology/reports/component_signature-doid.tsv

Large diffs are not rendered by default.

Loading

0 comments on commit 8497809

Please sign in to comment.