Skip to content

Commit f77f111

Browse files
committed
fix: remove covid_phenotype-based operations from mydisease x-bte annotation
1 parent bede883 commit f77f111

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

mydisease.info/smartapi.yaml

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ paths:
226226
- "$ref": "#/components/x-bte-kgs-operations/disease-variant"
227227
- "$ref": "#/components/x-bte-kgs-operations/disease-phenotype"
228228
- "$ref": "#/components/x-bte-kgs-operations/disease-phenotype2"
229-
- "$ref": "#/components/x-bte-kgs-operations/disease-phenotype3" ## for covid_phenotypes
230229
- "$ref": "#/components/x-bte-kgs-operations/disease-chemical"
231230
- "$ref": "#/components/x-bte-kgs-operations/disease-chemical2"
232231
# - "$ref": "#/components/x-bte-kgs-operations/disease-pathway"
@@ -235,7 +234,6 @@ paths:
235234
- "$ref": "#/components/x-bte-kgs-operations/variant-disease"
236235
- "$ref": "#/components/x-bte-kgs-operations/phenotype-disease"
237236
- "$ref": "#/components/x-bte-kgs-operations/phenotype-disease2"
238-
- "$ref": "#/components/x-bte-kgs-operations/phenotype-disease3" ## for covid_phenotypes
239237
- "$ref": "#/components/x-bte-kgs-operations/chemical-disease"
240238
- "$ref": "#/components/x-bte-kgs-operations/chemical-disease2"
241239
# - "$ref": "#/components/x-bte-kgs-operations/pathway-disease"
@@ -445,8 +443,6 @@ components:
445443
modifier: hpo.phenotype_related_to_disease.modifier
446444
sex: hpo.phenotype_related_to_disease.sex
447445
biocuration: hpo.phenotype_related_to_disease.biocuration
448-
disease-phenotype2:
449-
HP: covid_phenotypes.hp ## HAS PREFIX (HP)
450446
disease-chemical:
451447
MESH: ctd.chemical_related_to_disease.mesh_chemical_id ## no prefix
452448
## direct_evidence has two values, 'marker/mechanism' or 'therapeutic'
@@ -586,29 +582,6 @@ components:
586582
source: "infores:hpo-annotations"
587583
response_mapping:
588584
"$ref": "#/components/x-bte-response-mapping/disease-phenotype"
589-
disease-phenotype3: ## covid only
590-
## could be updated based on Automat's current tool?
591-
- supportBatch: true
592-
inputSeparator: ","
593-
parameters:
594-
fields: covid_phenotypes.hp
595-
requestBody:
596-
body:
597-
q: "{inputs[0]}" ## HAS PREFIX (MONDO)
598-
## example: put MONDO:0100096 here (only possible input)
599-
## should get HP:0011899 (Hyperfibrinogenemia) in response
600-
scopes: mondo.mondo
601-
header: application/x-www-form-urlencoded
602-
inputs:
603-
- id: MONDO
604-
semantic: Disease
605-
outputs:
606-
- id: HP
607-
semantic: PhenotypicFeature
608-
predicate: has_phenotype
609-
source: "infores:automat-covid-phenotypes" ## but an older downloaded version...
610-
response_mapping:
611-
"$ref": "#/components/x-bte-response-mapping/disease-phenotype2"
612585
## for ctd-based operations:
613586
## - when the mydisease parser maps the resources' IDs to MONDO, are there situations where a MESH and a OMIM ID map to the same MONDO?
614587
## If so, 1) Is only one of them kept?,
@@ -851,31 +824,6 @@ components:
851824
source: "infores:hpo-annotations"
852825
response_mapping:
853826
"$ref": "#/components/x-bte-response-mapping/orphanet"
854-
phenotype-disease3: ## covid only
855-
- path: "/query"
856-
method: post
857-
supportBatch: true
858-
inputSeparator: ","
859-
parameters:
860-
fields: mondo.mondo
861-
requestBody:
862-
body:
863-
q: "{inputs[0]}" ## HAS PREFIX (HP)
864-
## example: put HP:0011899 here (Hyperfibrinogenemia)
865-
## should get MONDO:0100096 in response (COVID-19)
866-
## somewhat restricted set of possible inputs (~20)
867-
scopes: covid_phenotypes.hp
868-
header: application/x-www-form-urlencoded
869-
inputs:
870-
- id: HP
871-
semantic: PhenotypicFeature
872-
outputs:
873-
- id: MONDO
874-
semantic: Disease
875-
predicate: phenotype_of
876-
source: "infores:automat-covid-phenotypes"
877-
response_mapping:
878-
"$ref": "#/components/x-bte-response-mapping/mondo"
879827
chemical-disease:
880828
- path: "/query"
881829
method: post

0 commit comments

Comments
 (0)