How to get --transcript-to-gene-map <file> in RSEM?
1
1
Entering edit mode
6.2 years ago
John ▴ 270

Hi dear one,

In reference building step in RSEM, there is an option "--transcript-to-gene-map <file>", for transcriptome references, say mouse's mm9 transcriptome from ensemble release 67, what would be the file to be used as --transcript-to-gene-map <file> and where I can find it? what is that file really means?

thanks in advance!

rsem RNA-Seq reference index transcriptome • 5.4k views
ADD COMMENT
1
Entering edit mode
6.2 years ago
h.mon 35k

The --transcript-to-gene-map is explained at the rsem-prepare-reference help page, or just issuing rsem-prepare-reference at the command-line. In addition to the suggestions from the help, you can also use biomaRt or the org.Mm.eg.db R packages to build this file, something along the lines:

mart_11 <- biomaRt::useMart(biomart = "ENSEMBL_MART_ENSEMBL", dataset = "organism_gene_ensembl", host = 'mar2015.archive.ensembl.org')

t2g <- biomaRt::getBM(attributes = c("ensembl_transcript_id", "ensembl_gene_id", "external_gene_name"), mart = mart_11)

t2g <- dplyr::rename(t2g, target_id = ensembl_transcript_id, ens_gene = ensembl_gene_id, ext_gene = external_gene_name)

See posts here, here and here.

ADD COMMENT

Login before adding your answer.

Traffic: 2168 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