ARCHIVE-PUBMED(1)

πŸ“¦
version 24.0.20250523 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’Ύ ARCHIVE-PUBMED(1) πŸ’Ύ

okay bestie, welcome to the NCBI Entrez Direct User's Manual page for archive-pubmed β€” yes that's the manual name, we're not copying the header line, we're folding it in like a lil name tag at the party πŸŽ€


✨ NAME ✨

archive-pubmed β€” bestie, it maintains a local NCBI PubMed archive. that's it, that's the whole job πŸ’…


🌸 SYNOPSIS 🌸

archive-pubmed [[-]download] [[-]verify] [[-]missing] [[-]daily|
[-][re]index] [[-]stem[med]] [[-]clean|[-]clear|[-]scrap|[-]scrub|
[-]scour|[-]erase|[-]zap] [-info] [-ftp|-http[s]]

like, look at all those brackets. it's giving "choose your own adventure" 😭


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: archive-pubmed prepares a directory to hold a local PubMed archive, then it goes and downloads a full database dump and auxiliary vocabulary data from NCBI's servers, then it organizes the dump into an rchive(1) trie, and then it refreshes the versioned records.

setup ➑️ download ➑️ organize ➑️ refresh. main character pipeline energy, no cap πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • [-]download β€” just download the dump, bestie. no further processing, we're not doing extra credit today.
  • [-]verify β€” double-check that every single downloaded file is in good shape. vibe check on your files fr fr ✨
  • [-]missing β€” hunt for downloads that are missing. where did they go 😭
  • [-]daily β€” on top of everything else, produce or update an inverted index. lil daily routine πŸ“
  • [-][re]index β€” do a full reindex, inverted index and all. the whole thing. periodt.
  • [-]clean | [-]clear β€” deletes Indices contents and Increment files. poof 🫢
  • [-]scrap β€” deletes Postings directories. bye πŸ‘‹
  • [-]scrub β€” deletes Indices contents, Increment files, and Postings directories. it's escalating πŸ’€
  • [-]scour β€” deletes Indices contents, Increment files, and Postings, Data, Archive, and Sentinel directories. okay this one has range.
  • [-]erase β€” deletes Indices contents, Increment files, Postings, Data, Archive, and Sentinel directories, and Extras directory contents. literally nothing is safe 😭
  • [-]zap β€” delete the entire archive. absolutely unhinged. icon behaviour. ⚑
⚠️ heads up bestie: clean/clear, scrap, scrub, scour, erase, and zap are all destructive. each one deletes more than the last. zap takes the whole archive. read twice, run once, no cap πŸ™ˆ
  • -info β€” check whether the archive is complete and up to date, and if it isn't, report exactly what's wrong. your honest bestie πŸ’–
  • -ftp β€” download the needed data via FTP. this is the default, iykyk.
  • -http[s] β€” download the needed data via HTTPS instead. secure girlie behaviour πŸ”₯
  • [-path] dir β€” put the local archive in dir. choose your home 🏑
  • [-temp|-work[ing]] dir β€” put intermediate subtrees in dir. the lil in-between zone 🧚

🌈 ENVIRONMENT 🌈

  • EDIRECT_LOCAL_ARCHIVE β€” the local archive directory to use. it's expected to hold an absolute path. no relative nonsense pls.
  • EDIRECT_LOCAL_WORKING β€” the directory to hold intermediate subtrees. also expected to hold an absolute path. when it's not set, it defaults to the local archive directory. cute, it just stays home 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

archive-nihocc(1), archive-nlmnlp(1), archive-nmcds(1), archive-pids(1), archive-pmc(1), archive-taxonomy(1), cit2pmid(1), custom-index(1), download-ncbi-data(1), download-pubmed(1), edict(1), expand-current(1), nquire(1), pm-clean(1), pm-collect(1), pm-prepare(1), pm-refresh(1), pm-setup(1), rchive(1), ref2pmid(1), xfetch(1), xfilter(1), xinfo(1), xlink(1), xsearch(1). xtract(1).

the whole friend group, assembled πŸ’œ (yes, that period before xtract(1) is canon, we keep the facts exactly as they are ✨)


that's the whole page bestie, go forth and archive responsibly 🌸

NCBI Β· 2025-05-26 β€” mwah, love u, bye πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from