Retrieve Tax Id By The Match Description
1
2
Entering edit mode
12.8 years ago
Random ▴ 160

I have match descriptions such as: Desulfococcus oleovorans Hxd3, complete genome Nitrobacter hamburgensis X14, complete genome

And i would like to retrieve their accession number and/or taxid.

How can i do this?

database taxonomy identifiers • 2.3k views
ADD COMMENT
4
Entering edit mode
12.8 years ago

Use NCBI E-Utilies/ESearch: http://www.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html

http://www.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nucleotide&term=%22Desulfococcus+oleovorans%22[ORGN]+Hxd3,%20complete%20genome&usehistory=y

it returns two gis , the first is gi:158520017

http://www.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nucleotide&id=158520017&retmode=xml

this record contains the accession as well as the taxonomy

(...)
<GBSeq_primary-accession>NC_009943</GBSeq_primary-accession>
(...)
<GBSeq_taxonomy>Bacteria; Proteobacteria; Deltaproteobacteria; Desulfobacterales; Desulfobacteraceae; Desulfococcus<GBSeq_taxonomy>
(...)
<GBQualifier_value>taxon:96561</GBQualifier_value>
(...)
ADD COMMENT
0
Entering edit mode

Thanks, that's what i was looking for. On a side note can you recommend any xslt tutorials?

ADD REPLY
0
Entering edit mode

sorry I've got nothing more than googling xslt+tutorial. Or try http://oreilly.com/catalog/9780596000530

ADD REPLY
0
Entering edit mode

That will do then, thanks again!

ADD REPLY

Login before adding your answer.

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