This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How can I convert ensembl exon ID to gene symbol in a gene count dataframe?

I have an HTseq count file with a row containing exon ids and columns are exon counts. I need to convert them into gene IDs, given the fact that multiple exon ids may be mapped to the same gene. Please help me with the R codes and necessary tool suggestions.

htseq scrnaseq ensembl rnaseq

I'd use biomart. Or, of course, rerun htseq count to output what you want.

1 answer

You could use the Ensembl REST API. You can use the lookup/id endpoint. Take a look at this online course for example code you can use.

Log in to answer this question.