From 79b02776cbabe42a496b92f871544c93f5c7fe75 Mon Sep 17 00:00:00 2001 From: Colleen Xu Date: Wed, 29 Sep 2021 10:47:10 -0700 Subject: [PATCH] litvar: change SYMBOL -> NCBIGene also updated biolink-version, comments, example for endpoint --- litvar/smartapi.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/litvar/smartapi.yaml b/litvar/smartapi.yaml index acd1c553..44639218 100644 --- a/litvar/smartapi.yaml +++ b/litvar/smartapi.yaml @@ -16,7 +16,7 @@ info: component: KP team: - Service Provider - biolink-version: "2.1.0" + biolink-version: "2.2.3" servers: - url: https://www.ncbi.nlm.nih.gov/research/bionlp/litvar/api/v1 description: Production server @@ -30,7 +30,7 @@ paths: parameters: - name: variantid in: path - example: rs121913527 + example: rs121913527## description: rsid required: true schema: @@ -42,12 +42,13 @@ paths: - "$ref": "#/components/x-bte-kgs-operations/variant_located_in_gene" components: x-bte-kgs-operations: + ## API does not support the reverse operation variant_located_in_gene: - inputs: - id: DBSNP semantic: SequenceVariant outputs: - - id: SYMBOL + - id: NCBIGene semantic: Gene predicate: is_sequence_variant_of source: "infores:dbsnp" @@ -58,4 +59,4 @@ components: "$ref": "#/components/x-bte-response-mapping/variant_located_in_gene" x-bte-response-mapping: variant_located_in_gene: - SYMBOL: gene.name + SYMBOL: gene.id ## no prefix