[ensembl-dev] REST API: Missing external_name

Cinzia Malangone cinzia at ebi.ac.uk
Tue Oct 16 11:20:07 BST 2018


Dear all,
Can you please answer to question?

How I can retrieve this data? (external_name field)

Best
Cinzia

> On 15 Oct 2018, at 14:08, Cinzia Malangone <cinzia at ebi.ac.uk> wrote:
> 
> 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 <https://rest.ensembl.org/overlap/region/homo_sapiens/6:2739490-2739490?feature=gene&logic_name=refseq_import&db_type=otherfeatures%27%20-H%20%27Content-type:application/json%27%20-H%20%27Accept: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 <https://dec2017.rest.ensembl.org/overlap/region/homo_sapiens/6:2739490-2739490?feature=gene&logic_name=refseq_import&db_type=otherfeatures%27%20-H%20%27Content-type:application/json%27%20-H%20%27Accept: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/20181016/32884423/attachment.html>


More information about the Dev mailing list