Skip to content

Commit c79b2e6

Browse files
authored
Merge pull request #202 from monarch-initiative/add-gene-term-slot
Add gene_term slot to Genetic class for HGNC ontology binding
2 parents 4345efd + 1021d5e commit c79b2e6

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

examples/gene_term_example.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Example showing the use of gene_term slot in the Genetic class
2+
# This demonstrates option 2 from issue #198
3+
4+
name: Example Disease
5+
category: Mendelian
6+
parents: []
7+
8+
genetic:
9+
- name: AGK
10+
association: Causative
11+
gene_term:
12+
preferred_term: acylglycerol kinase
13+
term:
14+
id: HGNC:21869
15+
label: acylglycerol kinase
16+
notes: Autosomal recessive; example showing gene_term usage
17+
evidence:
18+
- reference: PMID:12345678
19+
supports: SUPPORT
20+
snippet: "Example evidence text."
21+
explanation: This is an example.

src/dismech/schema/dismech.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,10 @@ enums:
232232
TriggerTerm:
233233
description: A trigger
234234
GeneTerm:
235-
description: A gene
235+
description: A gene term from HGNC
236+
comments:
237+
- Uses HGNC gene nomenclature committee identifiers
238+
- Validation requires exact label match with HGNC database
236239
CellTypeTerm:
237240
description: A cell type
238241
reachable_from:
@@ -719,6 +722,10 @@ slots:
719722
description: The HP term for this phenotype
720723
range: PhenotypeDescriptor
721724
inlined: true
725+
gene_term:
726+
description: The HGNC term for this gene
727+
range: GeneDescriptor
728+
inlined: true
722729
treatment_term:
723730
description: The MAXO term for this treatment/medical action
724731
range: TreatmentDescriptor
@@ -1258,6 +1265,10 @@ classes:
12581265
slot_usage:
12591266
term:
12601267
description: Optional gene database term reference (e.g., HGNC)
1268+
bindings:
1269+
- binds_value_of: id
1270+
range: GeneTerm
1271+
obligation_level: REQUIRED
12611272

12621273
CellularComponentDescriptor:
12631274
is_a: Descriptor
@@ -1704,6 +1715,7 @@ classes:
17041715
Genetic:
17051716
slots:
17061717
- name
1718+
- gene_term
17071719
- presence
17081720
- evidence
17091721
- association

0 commit comments

Comments
 (0)