FETCH-PUBMED(1)
π FETCH-PUBMED(1) π
okay bestie, welcome to the NCBI Entrez Direct User's Manual page for fetch-pubmed, and no cap, this one is a whole vibe πΈ
β¨ NAME β¨
fetch-pubmed β grab records out of a local NCBI PubMed archive, picked by UID π
π¦ SYNOPSIS π¦
fetch-pubmed [-strict|-mixed] [[-path] dir] [-all] [-fresh]
[-asn|-xml|-pme] [-turbo]
π DESCRIPTION π
so here's the tea π: fetch-pubmed reads a list of record IDs from standard input and prints the matching bits of a local NCBI PubMed archive β one that was made by archive-pubmed(1) β out to standard output.
and like, why would you do that? because you're probably gonna feed it to xtract(1) or something similar next. it's giving pipeline main character energy π
π OPTIONS π
-strict|-mixedβ runsrchive(1)with-flag strictor-flag mixed, respectively. pick your fighter β¨[-path] dirβ use the local archive that lives indir. lowkey the path is optional-looking butdiris what matters π«Ά-allβ dump the ENTIRE archive. all of it. not a crumb left behind π-freshβ dump the entire archive into filenames shaped likepubmed001.xml.gz, and it uses any already-existing files like that as a starting point π±-asnβ retrieve ASN.1 β-xmlβ retrieve XML. this is the default btw, iykyk π-pmeβ produce ASN.1 on the fly, viapma2pmeπ§-turboβ addsNEXT_RECORD_SIZEnodes so navigation goes zoom zoom π₯
π ENVIRONMENT π
EDIRECT_PUBMED_MASTERβ the local archive directory to use when you didn't pass-path. it's expected to hold an absolute path, and it is mandatory when you're not supplying a path on the command line. no path, no archive, no records β periodt π
π SEE ALSO π
archive-pubmed(1), cit2pmid(1), ds2pme(1), edict(1), phrase-search(1), pma2pme(1), rchive(1), stream-pubmed(1), xtract(1).
the whole friend group, obsessed with them fr fr π
ngl, if you skipped the env var and skipped the path too, that's on you bestie π setEDIRECT_PUBMED_MASTERor passdir, one of the two, okay?
and that's the page!! brought to you by NCBI, dated 2023-02-20, and it's the FETCH-PUBMED(1) manual page from the NCBI Entrez Direct User's Manual. slay, go fetch those records πβ¨πΈ
π¦ where this page comes from
- debian bookworm: ncbi-entrez-direct 19.0.20230216+dfsg-2+b1 Β· PD
- ubuntu noble: ncbi-entrez-direct 19.2.20230331+dfsg-3 Β· PD
- ubuntu noble: ncbi-entrez-direct 19.2.20230331+dfsg-3ubuntu0.24.04.3 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms