This is a test version of Biostars. For the public version, visit https://www.biostars.org.
conversion gene id to ensemble id

Hi, Are there any packages available to convert "gene id to ensemble id". I am using "biomaRt" and "org.Hs.eg.db" but it does not able to convert "gene id to ensemble id".

I can convert "Gene Symbol to the ensemble" but with gene ID both packages show an error. eg. 'keys' must be a character vector

Genes name are in this format "A2BP1|54715", "A2LD1|87769", "A2ML1|144568". I am using only the integer part for conversion. As some genes have no name for example "?|155060" So I decided to stick with the conversion of the numbers.

Best: Imran

rna-seq

1 answer

Use as.character to convert the integer vector to a character vector and it'll work.

Thank you. It Works. str(dataframe$column) shows it was int. I converted this column into char.
best: Imran

Log in to answer this question.