I'm using Ensembl's rest to obtain xrefs. The example shows how to do this.(I'm using the
R option) for a single Ensembl gene ID query, but I'd like to obtain xrefs for all the gene IDs in the GTF.
Is there a way to use the
GET function that in the example with multiple queries? I see this example for doing so for sequence-related data rather than xref, but changing:
ext <- "/sequence/id"
ext <- "/xrefs/id"
Any idea if this is possible? Or alternatively, how can I obtain xref data (I'm specifically interested in the EntrezGene and RefSeq xrefs for genes and transcripts, respectively.