ga4gh-beacon / specification

GA4GH Beacon specification.
Apache License 2.0
32 stars 25 forks source link

Extend the query to support region queries #235

Open juhtornr opened 5 years ago

juhtornr commented 5 years ago

Can you @jrambla add description based on your presentation to ELIXIR Beacon strategic group?

mbaudis commented 5 years ago

@juhtornr @jrambla I've added some notes & an example.

Region queries are used to determine the existence of any/all variants in a genomic range. A typical example would be the determination of variants n the CDR of a gene of interest. In this example, all variants with single nucleotide alternateBases in the CDR of the EIF4A1 gene in the DIPG childhood brain tumor dataset are being retrieved:

https://beacon.progenetix.org/beaconplus-server/beaconresponse.cgi?datasetIds=dipg&referenceName=17&assemblyId=GRCh38&startMin=7572826&endMax=7579005&referenceBases=*&alternateBases=N

Special parameters:

TODO

jrambla commented 5 years ago

Hi,

I'll leverage this use case to test the new focused queries. Thus, we'll remove any non required parameter in the query. Back to you soon (well, after holidays)

Written from a mobile device, disregard brevity and typos, please. Escrit des d'un mòbil, disculpeu la brevetat i les errades. Escrito desde un móvil, disculpad la brevedad y las erratas.


From: Michael Baudis notifications@github.com Sent: Tuesday, December 11, 2018 1:02:55 PM To: ga4gh-beacon/specification Cc: jrambla; Mention Subject: Re: [ga4gh-beacon/specification] Extend the query to support region queries (#235)

@juhtornrhttps://github.com/juhtornr @jramblahttps://github.com/jrambla I've added some notes & an example.

Region queries are used to determine the existence of any/all variants in a genomic range. A typical example would be the determination of variants n the CDR of a gene of interest. In this example, all variants with single nucleotide alternateBases in the CDR of the EIF4A1 gene in the DIPG childhood brain tumor dataset are being retrieved:

https://beacon.progenetix.org/beaconplus-server/beaconresponse.cgi?datasetIds=dipg&referenceName=17&assemblyId=GRCh38&startMin=7572826&endMax=7579005&referenceBases=*&alternateBases=N

Special parameters:

TODO

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/ga4gh-beacon/specification/issues/235#issuecomment-446178740, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHsiOkvN548lOe4Xbaam2PB3gKFuFRM9ks5u357vgaJpZM4YpWzc.

mbaudis commented 5 years ago

@jrambla @juhtornr Great - I'll be happy o help, developing this further. For now, the query example still works ... @teemukataja This also reports the short-form "digest" of the matched variants in the variantResponses (e.g. "DIPG_V_MAF_17_7578406_C_T"), since we've set the limit to "20" distinct variants for full reports. If you limit the target region you'll get a full report from the variants (slowish...): https://beacon.progenetix.org/beaconplus-server/beaconresponse.cgi?datasetIds=dipg&referenceName=17&assemblyId=GRCh38&startMin=7576826&endMax=7577200&referenceBases=*&alternateBases=N