HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

esearch — Perform a new Entrez search using terms in indexed fields. It is part of the `edirect` package. More

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandnewsearchperformcliesearchentrezusing
linux

Problem

How to use the esearch command: Perform a new Entrez search using terms in indexed fields. It is part of the edirect package. More information: <https://www.ncbi.nlm.nih.gov/books/NBK179288/>.

Solution

esearch — Perform a new Entrez search using terms in indexed fields. It is part of the edirect package. More information: <https://www.ncbi.nlm.nih.gov/books/NBK179288/>.

Search the pubmed database for selective serotonin reuptake inhibitor:
esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}"


Search the protein database using a query and regex:
esearch -db {{protein}} -query '{{Escherichia*}}'


Search the nucleotide database for sequences whose metadata contain insulin and rodents:
esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"


Display help:
esearch {{[-h|-help]}}

Code Snippets

Search the pubmed database for selective serotonin reuptake inhibitor

esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}"

Search the protein database using a query and `regex`

esearch -db {{protein}} -query '{{Escherichia*}}'

Search the nucleotide database for sequences whose metadata contain insulin and rodents

esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"

Display help

esearch {{[-h|-help]}}

Context

tldr-pages: linux/esearch

Revisions (0)

No revisions yet.