Skip to content

Commit 6d1b336

Browse files
authored
Merge pull request #1770 from SkyeAv/fix/attach-supporting-study-metadata-slots-to-association-hierarchy
feat: wire supporting study metadata slots into root association
2 parents cc89621 + 7b50292 commit 6d1b336

3 files changed

Lines changed: 75 additions & 20 deletions

File tree

biolink-model.yaml

Lines changed: 75 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7006,20 +7006,73 @@ slots:
70067006
close_mappings:
70077007
- OBAN:has_study_id
70087008

7009+
study metadata:
7010+
is_a: node property
7011+
description: >-
7012+
Information describing how a study was designed and carried out. In practice, data creators should use one of
7013+
the more specific subtypes of this property.
7014+
comments:
7015+
- This is an abstract slot that groups a set of concrete slots that describe a Study itself. Because each of
7016+
these properties describes a single study, they are node properties of the Study class rather than
7017+
association slots. An Association links to the studies that supported it via 'has supporting studies', and
7018+
the metadata for each of those studies is read off the Study node.
7019+
abstract: true
7020+
7021+
study method types:
7022+
is_a: study metadata
7023+
description: >-
7024+
Type(s) of methods that were applied in a study (e.g. a type of experimental assay, or statistical calculation,
7025+
or computational analysis).
7026+
range: uriorcurie
7027+
multivalued: true
7028+
7029+
study method description:
7030+
is_a: study metadata
7031+
description: >-
7032+
A uri or curie pointing to information about the methodology used to generate the data produced by a study.
7033+
range: uriorcurie
7034+
7035+
study size:
7036+
is_a: study metadata
7037+
description: >-
7038+
The sample size used in a study (e.g. 'n' of a cohort for a clinical study).
7039+
range: integer
7040+
7041+
study cohort:
7042+
is_a: study metadata
7043+
description: >-
7044+
A description of the study population/cohort that was interrogated by a study.
7045+
range: string
7046+
7047+
study date range:
7048+
is_a: study metadata
7049+
description: >-
7050+
The date range over which data was collected in a study.
7051+
range: string
7052+
7053+
study context:
7054+
is_a: study metadata
7055+
description: >-
7056+
A term or terms describing the experimental setting/context in which a study was carried out ('context' may be
7057+
defined by many factors, including taxon, model system, tissue type, disease, etc.).
7058+
range: string
7059+
7060+
## Deprecated 'supporting study *' association slots. Each of these describes a single study, but an Association
7061+
## may cite several studies via the multivalued 'has supporting studies' slot, leaving no way to say which value
7062+
## belongs to which study. They have been replaced by the 'study metadata' node properties above, which hang off
7063+
## the Study node itself. None of these slots were ever listed under a class, so none were usable as attributes.
70097064
supporting study metadata:
7065+
deprecated: "true"
7066+
deprecated_element_has_exact_replacement: biolink:study_metadata
70107067
is_a: association slot
70117068
description: >-
70127069
Information about a study used to generate information used as evidence to support the knowledge expressed in an
70137070
Association. In practice, data creators should use one of the more specific subtypes of this property.
7014-
comments:
7015-
- This is an abstract slot that groups a set of concrete slots used to directly attach to an association information
7016-
about a study that produced evidence used to generate the knowledge expressed in the edge.
7017-
- Note that these concrete 'supporting study metadata' slots are used only when a more normalized model that leverages
7018-
the 'supporting studdies' slot and 'Study' class to link to and describe the Study itself are not possible or preferred,
7019-
such that this study metadata must be captured directly on the edge.
70207071
abstract: true
70217072

70227073
supporting study method types:
7074+
deprecated: "true"
7075+
deprecated_element_has_exact_replacement: biolink:study_method_types
70237076
is_a: supporting study metadata
70247077
description: >-
70257078
Type(s) of methods that were applied in a study used to generate the information used as evidence (e.g. a type of
@@ -7028,31 +7081,41 @@ slots:
70287081
multivalued: true
70297082

70307083
supporting study method description:
7084+
deprecated: "true"
7085+
deprecated_element_has_exact_replacement: biolink:study_method_description
70317086
is_a: supporting study metadata
70327087
description: >-
70337088
A uri or curie pointing to information about the methodology used to generate data supporting an Association.
70347089
range: uriorcurie
70357090

70367091
supporting study size:
7092+
deprecated: "true"
7093+
deprecated_element_has_exact_replacement: biolink:study_size
70377094
is_a: supporting study metadata
70387095
description: >-
70397096
The sample size used in a study that provided evidence for the association (e.g. 'n' of a cohort for a
70407097
clinical study).
70417098
range: integer
70427099

70437100
supporting study cohort:
7101+
deprecated: "true"
7102+
deprecated_element_has_exact_replacement: biolink:study_cohort
70447103
is_a: supporting study metadata
70457104
description: >-
70467105
A description of a study population/cohort that was interrogated to provide evidence for the association.
70477106
range: string
70487107

70497108
supporting study date range:
7109+
deprecated: "true"
7110+
deprecated_element_has_exact_replacement: biolink:study_date_range
70507111
is_a: supporting study metadata
70517112
description: >-
70527113
The date range over which data was collected in a study that provided evidence for an Association.
70537114
range: string
70547115

70557116
supporting study context:
7117+
deprecated: "true"
7118+
deprecated_element_has_exact_replacement: biolink:study_context
70567119
is_a: supporting study metadata
70577120
description: >-
70587121
A term or terms describing the experimental setting/context in which evidence supporting the Association was
@@ -7624,6 +7687,12 @@ classes:
76247687
description: a detailed investigation and/or analysis
76257688
slots:
76267689
- has study results
7690+
- study method types
7691+
- study method description
7692+
- study size
7693+
- study cohort
7694+
- study date range
7695+
- study context
76277696
exact_mappings:
76287697
- NCIT:C63536
76297698
close_mappings:

pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ packages = ["src/biolink_model"]
7777
# reducing cross-branch merge conflicts (see astral-sh/uv#18708). Requires uv >= 0.9.17.
7878
exclude-newer = "7 days"
7979

80-
# Cooldown exception: cryptography 50.0.0 (2026-07-31) fixes GHSA-g6cj-pr64-35w5 /
81-
# PYSEC-2026-3552 (Bleichenbacher oracle in PKCS#7 EnvelopedData decryption). It is a
82-
# transitive dependency via google-auth, so the floor is also constrained below to keep a
83-
# from-scratch relock (pr-check-dependencies) from falling back to the vulnerable 49.0.0.
84-
# Both entries can be dropped once the release clears the 7-day window (after 2026-08-07).
85-
exclude-newer-package = { cryptography = "2026-08-04T00:00:00Z" }
86-
constraint-dependencies = ["cryptography>=50.0.0"]
87-
8880
[tool.codespell]
8981
skip = '.idea,.git,SEMMEDDB*,semmed*,*.svg,docs,./src/docs/registry.md,./.venv'
9082
ignore-words-list = 'amination,ehr,mor,brite,nin,mirgate'

uv.lock

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)