You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... and a line about contributions.
... and a bit of decluttering the index
... also introducing {{config.beacon_major_version}} at some places in the text
Copy file name to clipboardExpand all lines: docs/beacon-flavours.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Beacon "Flavours"
2
2
3
3
!!! Note "About UI"
4
-
Most of the information that you will find here is related to the [Beacon v2 specification](/). For that reason, the examples are shown as REST API requests/responses in the form of [JSON](https://www.json.org/json-en.html). If you are only interested in using beacon with a **graphical interface** please visit the [implementations](implementations-options.md) page.
4
+
Most of the information that you will find here is related to the [Beacon {{config.beacon_major_version}} specification](/). For that reason, the examples are shown as REST API requests/responses in the form of [JSON](https://www.json.org/json-en.html). If you are only interested in using beacon with a **graphical interface** please visit the [implementations](implementations-options.md) page.
5
5
6
6
While the original Beacon v1 only provided Boolean (_i.e._**YES/NO**) responses
7
7
on queries for the existence of specific genomic variants, Beacon v2 is a flexible
@@ -24,9 +24,10 @@ with a _true_ or _false_ value when queried for the existence of some data in a
24
24
a _Count Response_ Beacon only returns aggregate information, _i.e._ the number of matched
25
25
entries (e.g. genomic variants), a feature also part of the Beacon v1 protocol.
26
26
27
-
However, in contrast to earlier versions, in Beacon v2 _in principle_ a beaconized resource
28
-
may implement all types of query options (e.g. combinations of various filters and
29
-
genomic query parameters) but still only offer a Boolean and optionally Count response.
27
+
However, in contrast to earlier versions, in Beacon {{config.beacon_major_version}}
28
+
_in principle_ a beaconized resource may implement all types of query options
29
+
(e.g. combinations of various filters and genomic query parameters) but still
30
+
only offer a Boolean and optionally Count response.
30
31
31
32
Also, all Beacons _should_ implement the _Boolean Response_ format as fallback option and
32
33
handle extended options depending on the user's authentication status.
@@ -84,6 +85,5 @@ Information about the different data delivery options can be found here:
84
85
85
86
86
87
87
-
88
88
[^1]: Privacy protecting as in "reasonably protecting by design but not immune to complex
Copy file name to clipboardExpand all lines: docs/contribute.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,4 +5,5 @@ and Health [**GA4GH**](https://ga4gh.org). Since 2016 Beacon development has bee
5
5
organized through projects supported by ELIXIR with additional contributions from
6
6
outside organizations and individual developers and implementers.
7
7
8
-
==TBD==
8
+
The easiest way to contribute to Beacon development - or to enquire about or
9
+
request additional features - is through the project's Github{{config.repo_icon}} [issues]({{config.repo_url}}/issues) and [discussions]({{config.repo_url}}/discussions).
Copy file name to clipboardExpand all lines: docs/formats-standards.md
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,9 @@ The only exception is: `service-info` which is a required GA4GH standard and has
14
14
15
15
### Schema Language and Conventions
16
16
17
-
The **Beacon v2 API** follows [OpenAPI 3.0.2](https://spec.openapis.org/oas/v3.0.2) specification for the [endpoints](https://github.com/ga4gh-beacon/beacon-v2/blob/main/framework/src/endpoints.yaml), in conjuntion with JSON Schema ([2020-12](https://json-schema.org/draft/2020-12/schema)) to define the [Framework](framework.md) {{config.repo_framework_icon}} and the [Models](models.md) {{config.repo_models_icon}} components. The specification uses JSON [references](https://json-spec.readthedocs.io/reference.html) (`$ref`) to reference internal (e.g., definitions) or external concepts/terms (e.g., [VRS](https://vrs.ga4gh.org/en/latest/terms_and_model.html)).
17
+
The **Beacon API** follows [OpenAPI 3.0.2](https://spec.openapis.org/oas/v3.0.2) specification for the [endpoints](https://github.com/ga4gh-beacon/beacon-v2/blob/main/framework/src/endpoints.yaml), in conjuntion with JSON Schema ([2020-12](https://json-schema.org/draft/2020-12/schema)) to define the [Framework](framework.md) {{config.repo_framework_icon}} and the [Models](models.md) {{config.repo_models_icon}} components. The specification uses JSON [references](https://json-spec.readthedocs.io/reference.html) (`$ref`) to reference internal (e.g., definitions) or external concepts/terms (e.g., [VRS](https://vrs.ga4gh.org/en/latest/terms_and_model.html)).
18
18
19
-
The Beacon v2 specification is written in [YAML](https://yaml.org). The original files are located under `src` directory (see below). For technical purposes, we also provide a **copy** of the original YAML in JSON format (see `json` directory below). Changes in the specification must be performed in the YAML version and are then rewritten to the JSON version.
19
+
The Beacon specification is written in [YAML](https://yaml.org). The original files are located under `src` directory (see below). For technical purposes, we also provide a **copy** of the original YAML in JSON format (see `json` directory below). Changes in the specification must be performed in the YAML version and are then rewritten to the JSON version.
20
20
21
21
=== "Framework"
22
22
@@ -96,8 +96,7 @@ The Beacon v2 specification is written in [YAML](https://yaml.org). The original
96
96
<ahref="https://xkcd.com/1179/"target="_blank"><imgsrc="https://imgs.xkcd.com/comics/iso_8601.png"align="right"style="margin 20px 0px 30px 20px; width: 200px; clear:none;" /></a>
97
97
98
98
Date and time formats are specified as [ISO8601](https://www.w3.org/TR/NOTE-datetime)
99
-
compatible strings, both for time points as well as for durations. Some of the ISO8601
100
-
compatible formats have not (yet) been used in the Beacon v2 default model.
99
+
compatible strings, both for time points as well as for durations.
101
100
102
101
#### Examples
103
102
@@ -109,11 +108,11 @@ compatible formats have not (yet) been used in the Beacon v2 default model.
Copy file name to clipboardExpand all lines: docs/implementations-options.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
!!! Important
2
-
As previously described, **Beacon v2 is an specification** for sharing/discovery of data. Thus, _a priori_, it has nothing to do with any particular software, database or computer language.
2
+
As previously described, **Beacon is an specification** for sharing/discovery of data. Thus, _a priori_, it has nothing to do with any particular software, database or computer language.
3
3
4
4
# Which are the implementation options?
5
5
6
-
Two elements are needed to implement (or "light") a Beacon v2:
6
+
Two elements are needed to implement (or "light") a Beacon:
7
7
8
8
1. An internal **database** (where the biological data are stored).
9
9
2. A **REST API** that provides a standardized way to send queries and receive responses (containing yes/no, counts or data).
@@ -14,11 +14,11 @@ In this section we are going to present three implementation options, going from
14
14
15
15

16
16
17
-
Let's say that you have your data organized and structured in a database (e.g. [SQL](https://en.wikipedia.org/wiki/SQL) or [NoSQL](https://en.wikipedia.org/wiki/NoSQL) which may or may not have an internal layer to get access to it). Let's also say that you have the resources (and knowledge) to read the "instructions" (i.e., Beacon v2 specification) to build an API on top of your existing solution. If that's your case, then this is the option for you. You are one of what we call **Beacon v2 API implementers**. We have a few of them already in the [Beacon v2 Service Registry](https://ga4gh-approval-service-registry-demo.ega-archive.org):
17
+
Let's say that you have your data organized and structured in a database (e.g. [SQL](https://en.wikipedia.org/wiki/SQL) or [NoSQL](https://en.wikipedia.org/wiki/NoSQL) which may or may not have an internal layer to get access to it). Let's also say that you have the resources (and knowledge) to read the "instructions" (i.e., Beacon specification) to build an API on top of your existing solution. If that's your case, then this is the option for you. You are one of what we call **Beacon API implementers**. We have a few of them already in the [Beacon Service Registry](https://ga4gh-approval-service-registry-demo.ega-archive.org):
*[`bycon` Python stack](https://bycon.progenetix.org) driving full featured v2.n under the [Progenetix](https://progenetix.org), [cancercelllines.org](https://cancercelllines.org) and [refCNV](https://refcnv.org) genomics resources
@@ -39,4 +39,4 @@ Let's say that you have your data _somewhat_ structured (you may have Excel file
39
39
You want to "beaconize" your data to be part of a larger ecosystem, but you're unsure where to start, and/or don't want to invest a lot of resources because you are still unsure if the whole thing will pay off. Well, you're a not alone! Most centers are in this situation. For that reason at [CRG](https://www.crg.eu) we developed the [**Beacon v2 Reference Implementation**](https://b2ri-documentation.readthedocs.io).
40
40
41
41
!!! Important
42
-
People that download and install _B2RI_ or another pre-packaged solution are named **Beacon v2 deployers**.
42
+
People that download and install _B2RI_ or another pre-packaged solution are named **Beacon deployers**.
0 commit comments