-
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.
testing ideas for more VRS compatibility - absolute WiP!
- Loading branch information
Showing
5 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,41 @@ | ||
$schema: https://json-schema.org/draft/2020-12/schema | ||
$id: https://genomebeacons.org/schemas/beacon/BeaconRangeRequest/v1.1.0 | ||
title: VariantRangeRequest | ||
description: >- | ||
A request for matching variants in a genomic range. This request type requires | ||
to provide *exactly* 1 `start` and 1 `end` position, which are both 0-based and | ||
define the base range with which variants should be associated. The exact way | ||
of variant association (e.g. complete or partial overlap or even proximity) is | ||
being left to the individual implementations and use cases. | ||
Beacon version: v2.0 | ||
Future considerations: There are some inherited ambiguities | ||
* `assemblyId` and `referenceName` should be deprectated in favour of a versioned | ||
`sequenceId` | ||
* the shared use of the `start` and `end` parameters for both base positions and | ||
bracket positions is not ideal - here addressed by the `sequencePosition` type | ||
but still existing in parameters | ||
type: object | ||
required: | ||
- referenceName | ||
- start | ||
- end | ||
|
||
properties: | ||
referenceName: | ||
$ref: variantRequestParameters.yaml#/$defs/referenceName | ||
start: | ||
$ref: variantRequestParameters.yaml#/$defs/sequencePosition | ||
end: | ||
$ref: variantRequestParameters.yaml#/$defs/sequencePosition | ||
alternateBases: | ||
$ref: variantRequestParameters.yaml#/$defs/alternateBases | ||
variantType: | ||
$ref: variantRequestParameters.yaml#/$defs/variantType | ||
assemblyId: | ||
$ref: variantRequestParameters.yaml#/$defs/assemblyId | ||
|
||
examples: | ||
- referenceName: 17 | ||
assemblyId: GRCh38 | ||
start: [7572826] | ||
end: [7579005] |
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