Biomart mapping ensembl_transcript_id_version
1
0
Entering edit mode
4.7 years ago

Hello,
i have a list of ensembl_transcript_id_version, and I want to map the ensembl_gene_id and external_gene_name to it. However, it does not find a hit for a lot of genes (e.g. the id: ENSMUST00000109424.2, only if I change the version from .2 to .3).

ensembl <- biomaRt::useMart(biomart = "ENSEMBL_MART_ENSEMBL", 
                        host = "www.ensembl.org")
mart <- biomaRt::useMart(biomart = "ENSEMBL_MART_ENSEMBL",
                         dataset = "mmusculus_gene_ensembl", 
                         host="www.ensembl.org")

transcript2gene_test1 <- biomaRt::getBM(attributes = 
        c("ensembl_transcript_id_version", "ensembl_gene_id", "external_gene_name"),
        filters=c('ensembl_transcript_id_version'),
        values = c("ENSMUST00000109424.2","ENSMUST00000109424.3") ,
        mart = mart)

Is it possible to find a match for transcripts like ENSMUST00000109424.2, or do I have to remove the version number and just query for ENSMUST00000109424 (Or does this has other downsides.)

Thanks in advance.

biomart RNA-Seq ensembl version • 2.3k views
ADD COMMENT
0
Entering edit mode

I think it would be fine to query for just the transcript_id and exclude the version in your case. Odds are, gene name and gene ID won't change between transcript versions.

ADD REPLY
1
Entering edit mode
4.7 years ago
Ben Moore ★ 2.4k

Hi Christoph,

I agree with RamRS that querying for the stable ID without the version number will be fine for many cases. However, you could also consider using the ID History Convertor tool to get the up-to-date versioned stable ID: http://www.ensembl.org/Homo_sapiens/Tools/IDMapper

Best wishes

Ben
Ensembl Helpdesk

ADD COMMENT
0
Entering edit mode

Thanks, then I will just use the no-Version approach. (Also, because I am not sure whether I use the tool you mention correctly. If I query for ENSMUST00000109424.2 , I get no results.)

ADD REPLY
0
Entering edit mode

If you enter the unversioned stable ID into the ID History Convertor, it will provide you with the timeline of the version increases and the current version number.

ADD REPLY
0
Entering edit mode

thanks, this way it works.

ADD REPLY

Login before adding your answer.

Traffic: 1623 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6