can not find certain genes: Ensembl_Gene_Id To Entrezgene using Biomart
Hi,
this is probably a silly question. I'm using getBM function to convert gene name to Entrezgene ID, but find that not all genes converted successfully. For those that didn't get their Entrezgene ID, I checked on NCBI website and they do have a Entrezgene ID.
Any advice/suggestions are appreciated. Here is my code: (I'm using biomaRt version 2.50.3 and R version 4.1.3)
test<-c("ABI3","CCL3L1","GNG5")
mapping <- getBM(
attributes = c('entrezgene_id', 'hgnc_symbol'),
filters = 'hgnc_symbol', values = test, mart = hsmart)
the first gene ABI3 (ID=51225) is good, the last two genes CCL3L1 (ID=6349) and GNG5 (ID=2787) cannot be assigned to their Entrezgene ID.
• 2,092 views
•
link
0 answers
No answers yet.
Log in to answer this question.
Do you see any warnings?
no any warnings
Using EntrezDirect: so the ID's exist.
It could be that the ensembl version is outdated. OP, can you show the code that creates the
hsmartobject please?thank you, but it could be better if using R
Use https://cran.r-project.org/web/packages/rentrez/vignettes/rentrez_tutorial.html