Retrieving organism name
1
0
Entering edit mode
4.8 years ago

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 • 837 views
ADD COMMENT
1
Entering edit mode
4.8 years ago
AK ★ 2.2k

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

ADD COMMENT

Login before adding your answer.

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