I have a question regarding the retrieval of gene homologues using the REST API of Ensembl Genomes. In particular, I am interested in the retrieval of homologues of human genes/proteins from the pan-taxonomic compara of Ensembl Genomes. However, if I supply a Homo sapiens gene/protein ID to the API of Ensembl Genomes, then the API crashes? I can however retrieve some vertebrate homologues of human proteins using the API for the regular Ensembl database, although the taxonomic range of the homologues is too narrow for the analysis that I need to perform.
The only 'solution' so far I have found is to obtain D. melanogaster homologues from the regular Ensembl API as an output, and then to use this ID as an input to the Ensembl Genomes REST API, which will retrieve for me the pan-taxonomic homologues of the Drosophila homologue.
I am just wondering if it would at all be possible for me to retrieve directly the pan-taxonomic homologues for a human ID using Ensembl/EnsemblGenomes services?
what was the URL ?
Hi Pierre,
This is the line of code for a D. melanogaster ID (FBgn0263237), which returns a result:
If I replace the D. melanogaster ID with a human one though (e.g. 'ENSG00000123374'), no result is returned.
Human IDs work for REST API queries of the regular Ensembl database though:
This query however only yields vertebrate homologues (plus yeast and fruit fly), which is too narrow for my required analysis