Bind with edge info from @biothings-explorer/smartapi-kg
let input = {
response: res.data,
edge: {
"input": ["C1332824", "C1332823"],
"query_operation": {
"params": {
"fields": "positively_regulates"
},
"request_body": {
"body": {
"q": "{inputs[0]}",
"scopes": "umls"
}
},
"path": "/query",
"path_params": [],
"method": "post",
"server": "https://biothings.ncats.io/semmedgene",
"tags": [
"disease",
"annotation",
"query",
"translator",
"biothings",
"semmed"
],
"supportBatch": true,
"inputSeparator": ","
},
"association": {
"input_id": "UMLS",
"input_type": "Gene",
"output_id": "UMLS",
"output_type": "Gene",
"predicate": "positively_regulates",
"source": "SEMMED",
"api_name": "SEMMED Gene API",
"smartapi": {
"id": "81955d376a10505c1c69cd06dbda3047",
"meta": {
"ETag": "f94053bc78b3c2f0b97f7afd52d7de2fe083b655e56a53090ad73e12be83673b",
"github_username": "kevinxin90",
"timestamp": "2020-05-27T16:53:40.804575",
"uptime_status": "good",
"uptime_ts": "2020-06-12T00:04:31.404599",
"url": "https://raw.githubusercontent.com/NCATS-Tangerine/translator-api-registry/master/semmed/semmed_gene.yaml"
}
}
},
"response_mapping": {
"positively_regulates": {
"pmid": "positively_regulates.pmid",
"umls": "positively_regulates.umls"
}
},
"id": "01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b"
}
}