Entering edit mode
2.5 years ago
Abu Bakar
▴
10
Entrez Direct: E-utilities on the Unix Command Line
I would like to execute the following command but with a list where i have thousands tax ids (id). How to execute that?
efetch -db taxonomy -id 9606,7227,10090 -format xml | xtract -pattern Taxon \ -element TaxId ScientificName GenbankCommonName Division
you either download the complete taxonomy table locally and query that one (with eg grep ) or you put the the
efetch
command in afor loop
and loop over all your taxIDs.thanks, how to do that, any suggestion? is at like that?