[ensembl-dev] REST API: Missing external_name

Cinzia Malangone cinzia at ebi.ac.uk
Mon Oct 15 14:08:44 BST 2018


Dear all,
I noticed that one of the field that we need disappeared from the JSON response when we try to query the feature endpoint for a gene.

Eg.

curl -i 'https://rest.ensembl.org/overlap/region/homo_sapiens/6:2739490-2739490?feature=gene&logic_name=refseq_import&db_type=otherfeatures' -H 'Content-type:application/json' -H 'Accept:application/json'

[{"gene_id":"gene17080","feature_type":"gene","id":"gene17080","source":"BestRefSeq","end":2770330,"start":2663629,"strand":-1,"version":1,"description":"myosin light chain kinase family member4","assembly_name":"GRCh38","biotype":"protein_coding","seq_region_name":"6","logic_name":"refseq_import"}]

versus

curl -i 'https://dec2017.rest.ensembl.org/overlap/region/homo_sapiens/6:2739490-2739490?feature=gene&logic_name=refseq_import&db_type=otherfeatures' -H 'Content-type:application/json' -H 'Accept:application/json'

[{"gene_id":"340156","source":"BestRefSeq","logic_name":"refseq_import","version":1,"feature_type":"gene","external_name":"MYLK4","description":null,"assembly_name":"GRCh38","biotype":"protein_coding","end":2770330,"seq_region_name":"6","strand":-1,"id":"340156","start":2663629}]


I need to retrieve the external_name, can you explain me why this field is not available anymore and eventually how I can retrieve it?

Many thanks
Cinzia

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20181015/6b874381/attachment.html>


More information about the Dev mailing list