From 55099c7d62a1ecf2bc02d1075048f30ad01f8a05 Mon Sep 17 00:00:00 2001 From: Lee Katz Date: Wed, 12 Oct 2022 10:03:08 -0400 Subject: [PATCH] elink, esearch: add page (#8957) --- pages/linux/elink.md | 13 +++++++++++++ pages/linux/esearch.md | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 pages/linux/elink.md create mode 100644 pages/linux/esearch.md diff --git a/pages/linux/elink.md b/pages/linux/elink.md new file mode 100644 index 000000000..e39709539 --- /dev/null +++ b/pages/linux/elink.md @@ -0,0 +1,13 @@ +# elink + +> Look up precomputed neighbors within a database, or find associated records in other databases. +> It is part of the `edirect` package. +> More information: . + +- Search pubmed then find related sequences: + +`esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}" | elink -target nuccore` + +- Search nucleotide then find related biosamples: + +`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}" | elink -target biosample` diff --git a/pages/linux/esearch.md b/pages/linux/esearch.md new file mode 100644 index 000000000..1c04423ba --- /dev/null +++ b/pages/linux/esearch.md @@ -0,0 +1,13 @@ +# esearch + +> Perform a new Entrez search using terms in indexed fields. +> It is part of the `edirect` package. +> More information: . + +- Search the pubmed database for selective serotonin reuptake inhibitor: + +`esearch -db pubmed -query "{{selective serotonin reuptake inhibitor}}"` + +- Search the nucleotide database for sequences whose metadata contain insulin and rodents: + +`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"`