tldr/pages/linux/elink.md

14 lines
506 B
Markdown
Raw Normal View History

2022-10-12 15:03:08 +01:00
# 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`