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]}}"`