[ensembl-dev] Retrieving dbNSFP fields with VEP POST method

mag mr6 at ebi.ac.uk
Fri Nov 11 17:23:07 GMT 2016


Hi Karen,

I normally use the following example to check the data is there:
http://rest.ensembl.org/vep/human/id/rs699?content-type=application/json&dbNSFP=FATHMM_pred

However, this data is only available for GRCh38, so you would not be 
able to get any results on the GRCh37 dedicated REST server.


Cheers,
mag

On 11/11/2016 16:10, King, Karen wrote:
>
> Hi.
>
> Could someone please provide a working example for curl using this 
> endpoint:
>
> http://grch37.rest.ensembl.org/documentation/info/vep_region_post
>
> that also returns a field from dbNSFP (Ex: LRT_pred)?
>
> Below are 3 attempted curl commands that have not returned the dbNSFP 
> data:
>
> curl -H "content-type:application/json" \
>
> -H "accept:application/json" \
>
> --data '{ "variants" : ["1 230845794 rs699 A G . . ."] }' \
>
> http://grch37.rest.ensembl.org/vep/homo_sapiens/region?dbNSFP=LRT_pred
>
> curl -H "content-type:application/json" \
>
> -H "accept:application/json" \
>
> --data '{ “dbNSFP” : “LRT_pred”, "variants" : ["1 230845794 rs699 A G 
> . . ."] }' \
>
> http://grch37.rest.ensembl.org/vep/homo_sapiens/region
>
> curl -H "content-type:application/json" \
>
> -H "accept:application/json" \
>
> --data '{ “dbNSFP” : [“LRT_pred”], "variants" : ["1 230845794 rs699 A 
> G . . ."] }' \
>
> http://grch37.rest.ensembl.org/vep/homo_sapiens/region
>
> Thanks!
>
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev
> Ensembl Blog: http://www.ensembl.info/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20161111/3e2a4f94/attachment.html>


More information about the Dev mailing list