forked from maximilianh/ucscBeacon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelp.txt
27 lines (21 loc) · 989 Bytes
/
help.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<pre>
A Genomics Alliance Beacon, see http://ga4gh.org/#/beacon
* REST endpoint cgi-bin/beacon/query:
parameters:
- chromosome: 1 - 22, X, Y or M
- allele: A,C,T,G or I<seq> or D<length>.
- position: 0-based position on chromosome
- dataset: optional. If not specified all datasets will be queried.
- reference: optional. If specified, has to be GRCh37
- format: if "text", does not return JSON, but just one of the words "true",
or "false". Easier to parse for shell scripts.
* REST endpoint cgi-bin/beacon/info:
shows info about beacon, e.g. number of variants served.
no parameters
Examples:
%(host)s/cgi-bin/ucscBeacon/query?dataset=test&chromosome=1&position=10150&allele=A
%(host)s/cgi-bin/ucscBeacon/query?dataset=test&chromosome=1&position=4772339&allele=T
- returns "true", this allele is in the beacon
%(host)s/cgi-bin/ucscBeacon/query?dataset=test&chromosome=1&position=1234&allele=T
- returns "false", this allele is not in the beacon
</pre>