Takes in the scientific name of a taxon on the command line (should usually be species or strain level to keep number of results manageable), retrieves taxID using esearch | efetch | xtract, which is nested by process substitution into elink | efilter | efetch.
Tested and works in bash on 8/25/2017 – could use independent confirmation.
Takes in the scientific name of a taxon on the command line (should usually be species or strain level to keep number of results manageable), retrieves taxID using
esearch | efetch | xtract
, which is nested by process substitution intoelink | efilter | efetch
.Tested and works in bash on 8/25/2017 – could use independent confirmation.