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

Remove non exact xrefs from Mondo #6863

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
4 changes: 3 additions & 1 deletion src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,9 @@ filtered.obo: $(SRC)
--update ../sparql/update/delete-axiom-annotations-by-prefix.ru \
--update ../sparql/update/inject-cross-species-analog.ru \
remove --term-file config/remove-annotations-before-release.txt \
convert -f obo --check false -o [email protected] && mv [email protected] $@; fi
convert -f obo --check false -o [email protected] \
perl -ne 'print unless (m@^xref: (Orphanet|OMIM|OMIMPS|DOID|EFO|NCIT|SCTID|MESH|UMLS|ICD10CM):@ && !(m@(obsoleteEquivalent|equivalentObsolete|equivalentTo)@i))' [email protected] > [email protected] && mv [email protected] $@; fi
matentzn marked this conversation as resolved.
Show resolved Hide resolved

#egrep -v 'MONDO:(subClassOf|superClassOf|relatedTo)' $< > $@

skos.ttl: filtered.obo
Expand Down
Loading