Question: UCSC Genome, match accession (NM_#####) with actual gene name
gravatar for n_bormann1
3.6 years ago by
United States
n_bormann10 wrote:

Hi all,

I have a question regarding UCSC Genome. I have gone through the process of using galaxy (tophat, cuff diff, etc) and I used the mouse Dec2011 mm10 as my annotation file. What I currently have are all the NM_#### and NR_#### for the genes, but I need the gene names. I was able to get a .csv that had quite a few, so I just used R to search (grep) and match the names for me, but the file does not have all of them.

So I have installed the TxDb.Mmusculus.UCSC.mm10.knownGene package, but can't figure out how to do this very simple task. I'm hoping there is a function that allows me to input, for example, NM_001001130, and the gene name Zfp85 would be returned.

Thank you in advance for you time and expertise!

ADD COMMENTlink modified 3.6 years ago by James W. MacDonald48k • written 3.6 years ago by n_bormann10
gravatar for James W. MacDonald
3.6 years ago by
United States
James W. MacDonald48k wrote:

You want the package, and you should read the help page for select().

> library(
Loading required package: AnnotationDbi
Loading required package: GenomeInfoDb

> select(, "NM_001001130", "SYMBOL","REFSEQ")
1 NM_001001130  Zfp85
ADD COMMENTlink written 3.6 years ago by James W. MacDonald48k

This worked amazingly!! Thank you so much for your input, sorry I took so long to tell you the success story!

ADD REPLYlink written 3.6 years ago by n_bormann10
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 414 users visited in the last hour