getting Locus Link ids from gene symbol
2
0
Entering edit mode
Alex Tsoi ▴ 260
@alex-tsoi-2154
Last seen 10.2 years ago
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/bioconductor/attachments/20070609/ 4fe186e0/attachment.pl
• 1.7k views
ADD COMMENT
0
Entering edit mode
@steffen-durinck-1780
Last seen 10.2 years ago
Hi Alex, You could use the biomaRt package for this, here the code to do it: >library(biomaRt) >ensembl=useMart("ensembl",dataset="hsapiens_gene_ensembl") >map = getBM(c("hgnc_symbol","entrezgene"), filters=c("hgnc_symbol","with_entrezgene"), values=list(c("Btk","Casp8"),TRUE), mart=ensembl) it should give: >unique(map) hgnc_symbol entrezgene 1 CASP8 841 6 BTK 695 Cheers, Steffen Alex Tsoi wrote: > Dear all, > > I have a list of gene symbols (eg. Btk, Casp8), and I would like to get > their corresponding gene locus link IDs. > > Could anyone show me the ways I could do it. > > Greatly appreciate for any suggestion. > > Thanks, > Alex- > > [[alternative HTML version deleted]] > > _______________________________________________ > Bioconductor mailing list > Bioconductor at stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/bioconductor > Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor > -- Steffen Durinck, Ph.D. Oncogenomics Section Pediatric Oncology Branch National Cancer Institute, National Institutes of Health URL: http://home.ccr.cancer.gov/oncology/oncogenomics/ Phone: 301-402-8103 Address: Advanced Technology Center, 8717 Grovemont Circle Gaithersburg, MD 20877
ADD COMMENT
0
Entering edit mode
Nianhua Li ▴ 70
@nianhua-li-2181
Last seen 10.2 years ago
Hi, Alex, You can parse ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/gene_info.gz There are 4 useful columns: tax_id (column 1), GeneID (column 2), Symbol (column 3), and Synonyms (column 5). You can: 1 Read in the file 2 filter it based on tax_id 3 match your gene symboles to the "Symbol" column and find their Gene ID 4 removed the matched gene symboles from your list 5 match the rest of gene symboles to the "Synonyms" column and find their Gene ID hope this helps nianhua Nianhua Li Software Developer
ADD COMMENT

Login before adding your answer.

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