XFETCH(1)
β¨ XFETCH(1) β¨
okay so bestie, welcome to xfetch β it's from the NCBI Entrez Direct User's Manual and it's genuinely one of the good ones. π
πΈ NAME πΈ
xfetch β grab records out of a local NCBI Entrez Direct archive by UID. that's it, that's the whole vibe. π
π SYNOPSIS π
xfetch [-db database] [-id str...|-input file] [-stream]
π¦ DESCRIPTION π¦
xfetch prints the requested portions of a local NCBI Entrez Direct archive to standard output β you know, the kind of archive that archive-pubmed(1) or something like it made. and likeβ¦ usually you're doing that so xtract(1) or one of its little friends can chew on it next. it's giving pipeline energy. π
by default, xfetch looks at standard input and expects either:
- a raw list of UIDs, or
- an
ENTREZ_DIRECTXML object, which is the fancy version because it also carries a database name with it. β¨
π OPTIONS π
-dbdatabase β fetch from the database you name here. default ispubmed, for now at least. heads up bestie: eventually it's gonna be mandatory to say which database you want, whether you do it on the command line or through theENTREZ_DIRECTXML. so don't get too comfy relying on the default. π-idstr ... β the UID(s) you wanna fetch! and plot twist: they can be internally delimited by whitespace and literally any punctuation other than.or_. so like, go off with the separators, just not those two. π-inputfile β read the UIDs out of the file you point at instead. π-streamβ leaves records compressed. that's the whole thing. it justβ¦ doesn't decompress them. iconic. π₯
π ENVIRONMENT π
EDIRECT_LOCAL_ARCHIVEβ the local archive directory. 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 env var = we can't help you, bestie. π
π SEE ALSO π
archive-nihocc(1), archive-nlmnlp(1), archive-nmcds(1), archive-pids(1), archive-pmc(1), archive-pubmed(1), archive-taxonomy(1), cit2pmid(1), combine-uid-lists(1), difference-uid-lists(1), download-ncbi-data(1), download-pmc(1), download-pubmed(1), ds2pme(1), ds2pme(1), ecollect(1), edict(1), efetch(1), elink(1), esample(1), esearch(1), exclude-uid-lists(1), intersect-uid-lists(1), pm-refresh(1), pma2apa(1), pma2apa(1), pma2pme(1), pma2pme(1), pmc2bioc(1), pmc2info(1), rchive(1), transmute(1), xfilter(1), xinfo(1), xlink(1), xsearch(1), xtract(1).
and that's the whole page, bestie!! π«Ά this one came from NCBI, dated 2025-05-26, and it's page XFETCH(1) of the NCBI Entrez Direct User's Manual. go fetch something cute. ππ§
π¦ where this page comes from
- debian trixie: ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 Β· PD
- ubuntu questing: ncbi-entrez-direct 24.0.20250523+dfsg-1
- ubuntu resolute: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- ubuntu stonking: ncbi-entrez-direct 24.0.20250523+dfsg-2 Β· PD
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms