How to add optional parameters to the Rest API VEP query
0
0
Entering edit mode
3.4 years ago

Hi all,

I am trying to use the ensemble Rest API to query some variants. I used the wget example provided here:

https://rest.ensembl.org/documentation/info/vep_region_post

The query is as follows, and works perfectly:

wget -q --header='Content-type:application/json' --header='Accept:application/json' \ --post-data='{ "variants" : ["21 26960070 rs116645811 G A . . ."] }' \ 'https://rest.ensembl.org/vep/homo_sapiens/region' -O -

My issue is where to place optional parameters in this query. I am looking to add loftee to my output, which is under the parameter LoF. Any advice would be greatly appreciated.

API ensemble VEP REST • 662 views
ADD COMMENT

Login before adding your answer.

Traffic: 2788 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6