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

Predicate inverses & tests #1532

Merged
merged 4 commits into from
Oct 28, 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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ test-schema: gen-project

test-python:
cp biolink-model.yaml src/biolink_model/schema/biolink_model.yaml
$(RUN) python -m unittest discover -p 'test_*.py'
$(RUN) pytest

lint:
cp biolink-model.yaml src/biolink_model/schema/biolink_model.yaml
Expand Down
9 changes: 1 addition & 8 deletions biolink-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2703,7 +2703,6 @@ slots:
- translator_minimal
domain: chemical entity or gene or gene product
range: chemical entity or gene or gene product
inverse: response affected by
annotations:
canonical_predicate: true
exact_mappings:
Expand All @@ -2719,6 +2718,7 @@ slots:
- translator_minimal
domain: chemical entity or gene or gene product
range: chemical entity or gene or gene product
inverse: affects response to

increases response to:
description: >-
Expand Down Expand Up @@ -2842,7 +2842,6 @@ slots:
range: gene
annotations:
canonical_predicate: true
inverse: has gene product
in_subset:
- translator_minimal

Expand Down Expand Up @@ -2883,7 +2882,6 @@ slots:
range: gene
annotations:
canonical_predicate: true
inverse: transcribed to
description: >-
x is transcribed from y if and only if x is synthesized from template y
exact_mappings:
Expand All @@ -2896,7 +2894,6 @@ slots:
range: protein
annotations:
canonical_predicate: true
inverse: translation of
description: >-
x (amino acid chain/polypeptide) is the ribosomal translation of y (transcript) if and only if a ribosome
reads y (transcript) through a series of triplet codon-amino acid adaptor activities (GO:0030533)
Expand Down Expand Up @@ -4525,7 +4522,6 @@ slots:
canonical_predicate: true
in_subset:
- translator_minimal
inverse: enabled by
exact_mappings:
- RO:0002327

Expand Down Expand Up @@ -4572,7 +4568,6 @@ slots:
in_subset:
- translator_minimal
- samples
inverse: derives into
exact_mappings:
- RO:0001000
- FMA:derives_from
Expand Down Expand Up @@ -4684,7 +4679,6 @@ slots:
opposite_of: is excipient of
in_subset:
- translator_minimal
inverse: is active ingredient of
mappings:
- RO:0002248

Expand Down Expand Up @@ -4838,7 +4832,6 @@ slots:
range: occurrent
annotations:
canonical_predicate: true
inverse: preceded by
in_subset:
- translator_minimal
close_mappings:
Expand Down
17 changes: 16 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion project/jsonld/biolink_model.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2024-10-14T23:06:39",
"generation_date": "2024-10-28T13:35:21",
"source": "biolink_model.yaml"
},
"@context": {
Expand Down
6 changes: 3 additions & 3 deletions project/jsonld/biolink_model.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -35761,9 +35761,9 @@
],
"metamodel_version": "1.7.0",
"source_file": "biolink_model.yaml",
"source_file_date": "2024-10-14T23:06:36",
"source_file_size": 401471,
"generation_date": "2024-10-14T23:06:41",
"source_file_date": "2024-10-28T13:35:17",
"source_file_size": 401272,
"generation_date": "2024-10-28T13:35:23",
"@type": "SchemaDefinition",
"@context": [
"project/jsonld/biolink_model.context.jsonld",
Expand Down
Loading
Loading