elink, esearch: add page (#8957)

pull/1/head
Lee Katz 2022-10-12 10:03:08 -04:00 committed by GitHub
parent 766323d017
commit 55099c7d62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

13
pages/linux/elink.md Normal file
View File

@ -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: <https://www.ncbi.nlm.nih.gov/books/NBK179288/>.
- 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`

13
pages/linux/esearch.md Normal file
View File

@ -0,0 +1,13 @@
# 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 nucleotide database for sequences whose metadata contain insulin and rodents:
`esearch -db nuccore -query "{{insulin [PROT] AND rodents [ORGN]}}"`