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?
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?
Use NCBI E-Utilies/ESearch: http://www.ncbi.nlm.nih.gov/entrez/query/static/eutils_help.html
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>
(...)
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Thanks, that's what i was looking for. On a side note can you recommend any xslt tutorials?
sorry I've got nothing more than googling xslt+tutorial. Or try http://oreilly.com/catalog/9780596000530
That will do then, thanks again!