Entering edit mode
5.2 years ago
Scott McKay
▴
30
Is there some way (biomaRt or not) that will allow me to convert the gene locus (NM_###) to it's ensembl gene id?
Is there some way (biomaRt or not) that will allow me to convert the gene locus (NM_###) to it's ensembl gene id?
If you want to convert RefSeq 'NM' or 'NR' identifiers, then use refseq_mrna
or refseq_ncrna
attributes, repectively, as I mention at the end of my answer, here: A: Affymetrix Human Genome U133 Plus 2.0 Array
Also a practical example shown here by another user: A: biomaRt doesn't convert refseq_rna to flybase_gene_id
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Assuming this is about RefSeq accession numbers, note that NM prefixes are used for curated protein-coding transcripts, not genomic loci. Associating an accession number with the wrong entity type may mislead you.
What have you tried? Did you look at
listAttributes()
etc in biomaRt? Search for other packages such asorg.Hs.eg.db
?I looked at
searchAttributes(mart=ensembl, pattern=locus)
and then searched the Attributes for some loci information but turned up nothing