-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Still prototyping: * adding variant query schemas * testing parameter prototypes to resolve ambiguities such as polymorphic positional parameters (1 or 2 start values etc.)
- Loading branch information
Showing
4 changed files
with
97 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
$schema: https://json-schema.org/draft/2020-12/schema | ||
$id: https://genomebeacons.org/schemas/beacon/BeaconAlleleRequest/v1.0.0 | ||
title: BeaconAlleleRequest | ||
description: >- | ||
`BeaconAlleleRequest` represents the "classic" Beacon request type where | ||
a genomic sequence variation is queried by position and sequence (as well as | ||
optional reference sequence). | ||
Beacon version: v1.0 | ||
Future considerations: There are some inherited ambiguities | ||
* `assemblyId` and `referenceName` should be deprectated in favour of a versioned | ||
`sequenceId` | ||
* in alignment with VRS future versions should abandon the concept of a reference | ||
sequence | ||
* the use of `variantType` is not allowed (or should be ignored) when providing | ||
an explicit sequence | ||
type: object | ||
required: | ||
- referenceName | ||
- start | ||
- alternateBases | ||
additionalProperties: false | ||
|
||
properties: | ||
referenceName: | ||
$ref: variantRequestParameters.yaml#/$defs/referenceName | ||
start: | ||
$ref: variantRequestParameters.yaml#/$defs/sequencePosition | ||
alternateBases: | ||
$ref: variantRequestParameters.yaml#/$defs/sequence | ||
referenceBases: | ||
$ref: variantRequestParameters.yaml#/$defs/sequence | ||
assemblyId: | ||
$ref: variantRequestParameters.yaml#/$defs/assemblyId | ||
|
||
examples: | ||
- referenceName: 17 | ||
assemblyId: GRCh38 | ||
start: [61995191] | ||
alternateBases: TC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters