Hey friend, all good?
You can try org.Mm.eg.db
and biomaRt
. Let's see which one can map these:
lookup <- c('ENSMUST00000110582','ENSMUST00000110585',
'ENSMUST00000110586','ENSMUST00000135559',
'ENSMUST00000166082','ENSMUST00000135552',
'ENSMUST00000207020','ENSMUST00000192677',
'ENSMUST00000090457','ENSMUST00000207029')
org.Mm.eg.db
require('org.Mm.eg.db')
keytypes(org.Mm.eg.db)
select(
org.Mm.eg.db,
keytype = 'ENSEMBLTRANS',
columns = c('ENSEMBL','ENSEMBLTRANS','ENTREZID','SYMBOL'),
keys = lookup)
ENSEMBLTRANS ENSEMBL ENTREZID SYMBOL
1 ENSMUST00000110582 ENSMUSG00000079083 77532 Jrkl
2 ENSMUST00000110585 <NA> <NA> <NA>
3 ENSMUST00000110586 <NA> <NA> <NA>
4 ENSMUST00000135559 <NA> <NA> <NA>
5 ENSMUST00000166082 <NA> <NA> <NA>
6 ENSMUST00000135552 <NA> <NA> <NA>
7 ENSMUST00000207020 <NA> <NA> <NA>
8 ENSMUST00000192677 <NA> <NA> <NA>
9 ENSMUST00000090457 ENSMUSG00000022543 74684 4930451G09Rik
10 ENSMUST00000207029 <NA> <NA> <NA>
biomaRt
library(biomaRt)
mart <- useMart('ensembl', dataset = 'mmusculus_gene_ensembl')
getBM(
attributes = c(
'ensembl_gene_id',
'ensembl_transcript_id',
'entrezgene_id', 'mgi_symbol'),
filters = 'ensembl_transcript_id',
values = lookup,
mart = mart)
ensembl_gene_id ensembl_transcript_id entrezgene_id mgi_symbol
1 ENSMUSG00000022543 ENSMUST00000090457 74684 4930451G09Rik
2 ENSMUSG00000079083 ENSMUST00000110582 77532 Jrkl
3 ENSMUSG00000054115 ENSMUST00000110585 27401 Skp2
4 ENSMUSG00000060227 ENSMUST00000110586 319996 Golm2
5 ENSMUSG00000020744 ENSMUST00000135552 67283 Slc25a19
6 ENSMUSG00000038271 ENSMUST00000135559 320678 Iffo1
7 ENSMUSG00000025512 ENSMUST00000166082 68038 Chid1
8 ENSMUSG00000034755 ENSMUST00000192677 245578 Pcdh11x
9 ENSMUSG00000058966 ENSMUST00000207020 68952 Tlcd3b
10 ENSMUSG00000109498 ENSMUST00000207029 NA Gm45222
Kevin
Awww, you beat me