XINFO(1)
π XINFO(1) π
okay so bestie, you know that one page in the NCBI Entrez Direct User's Manual? Yeah. This is it. It's called xinfo, and it lives in section 1 of the manual, and honestly? It's lowkey iconic. Sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
xinfo β print aggregate information for a local NCBI Entrez Direct archive π«Ά
πΈ SYNOPSIS πΈ
xfetch [-h[elp]|[--]help] [-db database] -count[s] query|-fields|
-terms field|-totals field
not me typing xfetch in the synopsis, that's literally what the page says, don't @ me π
π¦ DESCRIPTION π¦
So here's the vibe: xinfo prints to standard output aggregate information concerning a local NCBI Entrez Direct archive β and that archive is the kind produced by archive-pubmed(1) or the like. β¨
That's it. That's the whole job. She's a stats girlie for your local archive and she does it flawlessly. π
π OPTIONS π
-dbdatabase β Fetch from the specified database,pubmedby default for now. (Heads up bestie: explicitly specifying a database will eventually become mandatory, so maybe start doing it now? Just a thought π«Ά)-countquery β Print terms and counts, merging wildcards. π-countsquery β Expand wildcards; print individual term counts. Different energy, same family. π₯-fieldsβ List all field abbreviations. Every single one. She's thorough like that. π-termsfield β List all known terms for the given field. πΈ-totalsfield β List all known terms for the given field along with the number of records in which each occurs. Basically-termsbut with receipts. π§Ύβ¨-h[elp],[--]helpβ Print a summary of options and some usage examples. The classic. The moment of need. ππ«Ά
π ENVIRONMENT π
EDIRECT_LOCAL_ARCHIVEβ Local archive directory. It's expected to hold an absolute path, and it's mandatory when you're not supplying a path on the command line. So like... one or the other, bestie. Pick a lane. π
π SEE ALSO π
archive-nihocc(1), archive-nlmnlp(1), archive-nmcds(1), archive-pids(1), archive-pmc(1), archive-pubmed(1), archive-taxonomy(1), download-ncbi-data(1), download-pmc(1), download-pubmed(1), edict(1), efetch(1), filter-columns(1), pm-refresh(1), print-columns(1), rchive(1), xfetch(1), xfilter(1), xlink(1), xsearch(1), xtract(1).
that's the whole friend group right there, go say hi to all of them π
and that's the tea, bestie β this page is brought to you by NCBI and it's dated 2025-05-26, and yes it's still filed under XINFO(1) like the absolute main character it is. slay, read responsibly, and hydrate. πβ¨ππ¦πΈπ
π«Ά
π¦ 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