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

Update foreign SSSOM sets from the ontology. #3415

Merged
merged 3 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
8 changes: 4 additions & 4 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
needs: [branch_status]
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5
container: obolibrary/odkfull:v1.5.3
steps:
- uses: khan/[email protected]
id: check
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
needs: [branch_status]
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5
container: obolibrary/odkfull:v1.5.3
steps:
- uses: khan/[email protected]
id: check
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
needs: [branch_status]
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5
container: obolibrary/odkfull:v1.5.3
steps:
- uses: khan/[email protected]
id: check
Expand All @@ -147,7 +147,7 @@ jobs:
diff_classification:
needs: [classify_branch, classify_main]
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5
container: obolibrary/odkfull:v1.5.3
steps:
- uses: khan/[email protected]
id: check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
ontology_qc:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: obolibrary/odkfull:v1.5.2
container: obolibrary/odkfull:v1.5.3
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
2 changes: 1 addition & 1 deletion src/ontology/catalog-v001.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog prefer="public" xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
<group id="Folder Repository, directory=, recursive=false, Auto-Update=false, version=2" prefer="public" xml:base="">
<group id="Folder Repository, directory=, recursive=false, Auto-Update=false, version=2" prefer="public">
<uri name="http://purl.obolibrary.org/obo/ceph.owl" uri="imports/local-ceph.owl"/>
<uri name="http://purl.obolibrary.org/obo/cl.owl" uri="imports/local-cl.owl"/>
<uri name="http://purl.obolibrary.org/obo/cteno.owl" uri="imports/local-cteno.owl"/>
Expand Down
6 changes: 4 additions & 2 deletions src/ontology/uberon.Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,8 @@ ifeq ($(strip $(IMP)),true)
$(MAPPINGDIR)/fbbt.sssom.tsv: .FORCE
wget "http://purl.obolibrary.org/obo/fbbt/fbbt.sssom.tsv" -O - | \
sssom-cli --prefix-map-from-input \
--rule 'object==UBERON:* -> include()' \
--include 'object==UBERON:*' \
--update-from-ontology=$(SRC):object,label,existence \
--output $@

# CL mapping set. We simply fetch it as it is from CL. It already
Expand All @@ -1276,7 +1277,8 @@ $(MAPPINGDIR)/biomappings.sssom.tsv: $(TMPDIR)/biomappings.sssom.tsv \
sssom-cli --input $< --prefix 'UBERON=http://purl.obolibrary.org/obo/UBERON_' \
--rule '!(subject==UBERON:* || object==UBERON:*) -> stop()' \
--rule 'object==UBERON:* -> invert()' \
--include-all | \
--include-all \
--update-from-ontology=$(SRC):subject,label,existence | \
sssom-cli --mangle-iris obo --output $@

$(TMPDIR)/biomappings.sssom.tsv:
Expand Down
Loading