How to get Gene ID from NCBI accession for non model species ?
1
0
Entering edit mode
4.0 years ago
Picasa ▴ 640

Hi all,

I have a non model species so R packages where you specify your genome/annotation don't work and I also tried https://david.ncifcrf.gov/conversion.jsp but got no result.

I have an accession (ex: XP_025269744.1) and want to retrieve the GeneID (ex: 112639560).

Example with this link:

https://www.ncbi.nlm.nih.gov/protein/XP_025269744.1

Any solutions please ?

gene id ncbi accession • 859 views
ADD COMMENT
2
Entering edit mode
4.0 years ago
GenoMax 141k

Using NCBI Entrezdirect:

$ esearch -db protein -query "XP_025269744" | elink -target gene | esummary | xtract -pattern DocumentSummary -element Id
112639560

$ esearch -db protein -query "XP_025269744" | elink -target gene | efetch 

1. LOC112639560
juvenile hormone acid O-methyltransferase-like [Camponotus floridanus (Florida carpenter ant)]
Other Designations: juvenile hormone acid O-methyltransferase-like
Chromosome: Un
ID: 112639560
ADD COMMENT
0
Entering edit mode

Thanks for your answer @genomax.

I got an issue with the -db option. Which database are u using ?

ADD REPLY
0
Entering edit mode

Depending on your query you will need to use an appropriate database. nuccore is option for nucleotide database, if you have nucleotide accession numbers.

ADD REPLY

Login before adding your answer.

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