This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Retrieving organism name

Hi,

I usually use the following command to get GCF_id (Accession) from the NCBI. How Can I retrieve the "organism name/source" from NCBI?

cat NZ_id.txt | while read i; do elink -db nuccore -id $i -target assembly|esummary|    xtract -pattern DocumentSummary -element AssemblyAccession ; done

Cheers

assembly ncbi e-utlilities

1 answer

Changing from -element AssemblyAccession to -element Organism or -element SpeciesName will do.

Log in to answer this question.