From 36e997552b054fbe6463a8efb9f4741e53e345e2 Mon Sep 17 00:00:00 2001 From: Colleen Xu Date: Fri, 8 Dec 2023 22:52:24 -0800 Subject: [PATCH] biothings hpo: edit superclass/subclass operations --- hpo/smartapi.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hpo/smartapi.yaml b/hpo/smartapi.yaml index d0661388..2eb3d5ca 100644 --- a/hpo/smartapi.yaml +++ b/hpo/smartapi.yaml @@ -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: @@ -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: @@ -657,7 +657,7 @@ components: - id: HP semantic: PhenotypicFeature parameters: - fields: parents + fields: ancestors predicate: subclass_of source: "infores:hpo" response_mapping: @@ -671,6 +671,6 @@ components: hp-id: HP: _id has_subclass: - HP: children + HP: descendants subclass_of: - HP: parents + HP: ancestors