Skip to content

Commit

Permalink
Merge pull request #3379 from obophenotype/remove-gene-dangling-classes
Browse files Browse the repository at this point in the history
Filter out dangling gene IRIs in imports
  • Loading branch information
gouttegd authored Oct 15, 2024
2 parents 3a11216 + 5694045 commit 359ac1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ontology/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# More information: https://github.com/INCATools/ontology-development-kit/

# Fingerprint of the configuration file when this Makefile was last generated
CONFIG_HASH= 943829f9eb8e1b8d46bf5f3f878364bb18f10e0d9eee11d7c28bfb3dfba894c7
CONFIG_HASH= 60e47a069bd32a71a48c480dcf88b75d116c5eef7d1f9a55073500ff79968b28


# ----------------------------------------
Expand Down Expand Up @@ -391,7 +391,7 @@ $(IMPORTDIR)/merged_terms_combined.txt: $(ALL_TERMS_COMBINED)

$(IMPORTDIR)/merged_import.owl: $(MIRRORDIR)/merged.owl $(IMPORTDIR)/merged_terms_combined.txt
if [ $(IMP) = true ]; then $(ROBOT) merge -i $< \
remove --select "<http://www.informatics.jax.org/marker/MGI:*>" remove --select "<http://purl.obolibrary.org/obo/OBA_*>" remove --select "<http://purl.obolibrary.org/obo/ENVO_*>" remove --select "<http://purl.obolibrary.org/obo/OBI_*>" remove --select "<http://purl.obolibrary.org/obo/GOCHE_*>" remove --select "<http://www.genenames.org/cgi-bin/gene_symbol_report*>" \
remove --select "<http://www.informatics.jax.org/marker/MGI:*>" remove --select "<http://purl.obolibrary.org/obo/OBA_*>" remove --select "<http://purl.obolibrary.org/obo/ENVO_*>" remove --select "<http://purl.obolibrary.org/obo/OBI_*>" remove --select "<http://purl.obolibrary.org/obo/GOCHE_*>" remove --select "<http://www.genenames.org/cgi-bin/gene_symbol_report*>" remove --select "<http://www.ncbi.nlm.nih.gov/gene/*>" remove --select "<http://birdgenenames.org/cgnc/GeneReport*>" \
extract -T $(IMPORTDIR)/merged_terms_combined.txt --force true --copy-ontology-annotations true --individuals exclude --method BOT \
remove $(patsubst %, --term %, $(ANNOTATION_PROPERTIES)) -T $(IMPORTDIR)/merged_terms_combined.txt --select complement --select annotation-properties \
query --update ../sparql/inject-subset-declaration.ru --update ../sparql/inject-synonymtype-declaration.ru --update ../sparql/postprocess-module.ru \
Expand Down
2 changes: 2 additions & 0 deletions src/ontology/uberon-odk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ import_group:
- <http://purl.obolibrary.org/obo/OBI_*>
- <http://purl.obolibrary.org/obo/GOCHE_*>
- <http://www.genenames.org/cgi-bin/gene_symbol_report*>
- <http://www.ncbi.nlm.nih.gov/gene/*>
- <http://birdgenenames.org/cgnc/GeneReport*>
products:
- id: pr
make_base: TRUE
Expand Down

0 comments on commit 359ac1e

Please sign in to comment.