Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Add support for IUPAC nucleotide codes (#23) #74

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions beacon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1177,30 +1177,22 @@ components:
ReferenceBases:
description: >
Reference bases for this variant (starting from `start`).
* Accepted values: [ACGTN]*.
* N is a wildcard, that denotes the position of any base, and can be
used as a standalone base of any type or within a partially known
sequence. As example, a query of `ANNT` the Ns can take take any form of
[ACGT] and will match `ANNT`, `ACNT`, `ACCT`, `ACGT` ... and so forth.
* an *empty value* is used in the case of insertions with the maximally
trimmed, inserted sequence being indicated in `AlternateBases`
* Accepted values: [ACGTRYSWKMBDHVN\.-]*.
* IUPAC nucleotide codes are supported.
type: string
pattern: '^([ACGTN]*)$'
pattern: '^([ACGTRYSWKMBDHVN\.-]*)$'
AlternateBases:
description: |
Alternate bases for this variant (starting from `start`).
* Accepted values: [ACGTN]*.
* N is a wildcard, that denotes the position of any base, and can be
used as a standalone base of any type or within a partially known
sequence. As example, a query of `ANNT` the Ns can take take any form of
[ACGT] and will match `ANNT`, `ACNT`, `ACCT`, `ACGT` ... and so forth.
* Accepted values: [ACGTRYSWKMBDHVN\.-]*.
* IUPAC nucleotide codes are supported.
* an *empty value* is used in the case of deletions with the maximally
trimmed, deleted sequence being indicated in `ReferenceBases`
* Categorical variant queries, e.g. such *not* being represented through
sequence & position, make use of the `variantType` parameter.
* either `alternateBases` or `variantType` is required.
type: string
pattern: '^([ACGTN]*)$'
pattern: '^([ACGTRYSWKMBDHVN\.-]*)$'
Filters:
description: |
Ontology based filters. CURIE syntax is encouraged to be used.
Expand Down