stream-pubmed

NCBI Entrez utilities on the command line

Install

All systems
curl cmd.cat/stream-pubmed.sh
Debian Debian
apt-get install ncbi-entrez-direct
Ubuntu
apt-get install ncbi-entrez-direct
image/svg+xml Kali Linux
apt-get install ncbi-entrez-direct
Windows (WSL2)
sudo apt-get update sudo apt-get install ncbi-entrez-direct
Raspbian
apt-get install ncbi-entrez-direct

ncbi-entrez-direct

NCBI Entrez utilities on the command line

Entrez Direct (EDirect) is an advanced method for accessing NCBI's set of interconnected databases (publication, sequence, structure, gene, variation, expression, etc.) from a terminal window or script. Functions take search terms from command-line arguments. Individual operations are combined to build multi-step queries. Record retrieval and formatting normally complete the process. EDirect also provides an argument-driven function that simplifies the extraction of data from document summaries or other results that are returned in structured XML format. This can eliminate the need for writing custom software to answer ad hoc questions. Queries can move seamlessly between EDirect commands and UNIX utilities or scripts to perform actions that cannot be accomplished entirely within Entrez.