Skip to content

Commit

Permalink
remove confidence annotation property (#7577)
Browse files Browse the repository at this point in the history
* add query to rm confidence anno

* remove other references to confidence property

* fix merge conflicts and rm confidence prop for newly edited terms

---------

Co-authored-by: Trish Whetzel <2167174+twhetzel@users.noreply.github.com>
  • Loading branch information
twhetzel and twhetzel committed Apr 11, 2024
1 parent 7063505 commit 20f3c85
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5,364 deletions.
2 changes: 1 addition & 1 deletion src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ ANN = annotate -V $(ONTURI)/releases/`date +%Y-%m-%d`/$@.owl
GITHUB_ACTION = false

filtered.obo: $(SRC)
perl -ne 'print unless (m@^xref: (Orphanet|OMIM|OMIMPS|DOID|EFO|NCIT|SCTID|MESH|UMLS|ICD10CM):@ && !(m@(obsoleteEquivalent|equivalentObsolete|equivalentTo|relatedTo|mondoIsNarrowerThanSource|directSiblingOf|mondoIsBroaderThanSource)@i))' $< | grep -v '^property_value: confidence' | grep -v '^property_value: excluded_subClassOf' | egrep -v '^synonym: .*EXCLUDE' | egrep -v 'relationship: disease_has_basis_in_dysfunction_of (hgnc|HGNC|NCBIGene):' > $@.tmp && mv $@.tmp $@
perl -ne 'print unless (m@^xref: (Orphanet|OMIM|OMIMPS|DOID|EFO|NCIT|SCTID|MESH|UMLS|ICD10CM):@ && !(m@(obsoleteEquivalent|equivalentObsolete|equivalentTo|relatedTo|mondoIsNarrowerThanSource|directSiblingOf|mondoIsBroaderThanSource)@i))' $< | grep -v '^property_value: excluded_subClassOf' | egrep -v '^synonym: .*EXCLUDE' | egrep -v 'relationship: disease_has_basis_in_dysfunction_of (hgnc|HGNC|NCBIGene):' > $@.tmp && mv $@.tmp $@
if [ $(GITHUB_ACTION) = false ]; then $(ROBOT) query -i $@ --use-graphs false \
--update ../sparql/update/delete-axiom-annotations.ru \
--update ../sparql/update/delete-axiom-annotations-by-prefix.ru \
Expand Down

0 comments on commit 20f3c85

Please sign in to comment.