Skip to content

Commit

Permalink
litvar: change SYMBOL -> NCBIGene
Browse files Browse the repository at this point in the history
also updated biolink-version, comments, example for endpoint
  • Loading branch information
colleenXu committed Sep 29, 2021
1 parent c8b0c98 commit 79b0277
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions litvar/smartapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,7 +30,7 @@ paths:
parameters:
- name: variantid
in: path
example: rs121913527
example: rs121913527##
description: rsid
required: true
schema:
Expand All @@ -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"
Expand All @@ -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

0 comments on commit 79b0277

Please sign in to comment.