Skip to content

Commit

Permalink
biothings hpo: edit superclass/subclass operations
Browse files Browse the repository at this point in the history
  • Loading branch information
colleenXu committed Dec 9, 2023
1 parent aaf06ce commit 36e9975
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions hpo/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ components:
# - qInput: "NCBIGene:3909" ## LAMA3
# oneOutput: "HP:0031446" ## Erosion of oral mucosa
has_subclass:
## 5160 records: https://biothings.ncats.io/hpo/query?q=_exists_:children
## 5607 records: https://biothings.ncats.io/hpo/query?q=_exists_:descendants
- supportBatch: true
useTemplating: true
inputs:
Expand All @@ -635,7 +635,7 @@ components:
- id: HP
semantic: PhenotypicFeature
parameters:
fields: children
fields: descendants
predicate: superclass_of ## this is current biolink, same meaning as "has_subclass"
source: "infores:hpo"
response_mapping:
Expand All @@ -657,7 +657,7 @@ components:
- id: HP
semantic: PhenotypicFeature
parameters:
fields: parents
fields: ancestors
predicate: subclass_of
source: "infores:hpo"
response_mapping:
Expand All @@ -671,6 +671,6 @@ components:
hp-id:
HP: _id
has_subclass:
HP: children
HP: descendants
subclass_of:
HP: parents
HP: ancestors

0 comments on commit 36e9975

Please sign in to comment.