ARCHIVE-PUBMED(1)
π ARCHIVE-PUBMED(1) β bestie edition π
okay so this is a page from the NCBI Entrez Direct User's Manual, and it's all about archive-pubmed and its little sibling index-pubmed. if you've ever wanted your very own local copy of PubMed living on your machine, this is the page that tells you how. π§β¨
β¨ NAME β¨
archive-pubmed, index-pubmed β maintain a local NCBI PubMed archive
like, literally. that's the whole job description. π
π¦ SYNOPSIS π¦
archive-pubmed [[-]pma2pme|[-]asn[[.]1]] [[-]daily|[-][re]index]
[[-]clean|[-]clear|[-]scrub] [[-]biocoll|[-]extras|[-]bioconcepts
|[-]generifs] [[-]nihocc] [-ftp|-http[s]] [[-path] dir [[-temp|
-work[ing]] dir]]
index-pubmed
πΈ DESCRIPTION πΈ
archive-pubmed prepares a directory to hold a local PubMed archive, then downloads a full database dump and auxiliary vocabulary data from NCBI's servers, organizes the dump into an rchive(1) trie, and refreshes the versioned records.
so basically: it sets up the folder π, it grabs the whole dump from NCBI π, it files everything into an rchive(1) trie like the organized queen it is π, and then it keeps those versioned records fresh. no cap.
index-pubmed is shorthand for archive-pubmed -index, and takes no options.
that's it. that's the whole thing. it's the drive-thru version of archive-pubmed -index. π
π OPTIONS π
[-]pma2pme|[-]asn[[.]1]β Additionally support retrieval in text ASN.1 Pubmed-entry format.
so on top of everything else, you also get to pull records back out in text ASN.1 Pubmed-entry format. extra format, extra slay. β¨
[-]dailyβ Additionally produce or update an inverted index.
this one also builds or refreshes an inverted index for you. lowkey essential if you want searching to actually hit. π₯
[-][re]indexβ Fully reindex, complete with an inverted index.
full send. a complete reindex, and yes, the inverted index comes with it. it's giving main character energy. π
[-]clean|[-]clearβ Delete Indices contents and Increment files.
wipes out the Indices contents and the Increment files. bye bestie π
[-]scrubβ Delete Indices contents, Increment files, and Postings directories.
same as above but it goes further β Indices contents, Increment files, and the Postings directories. the full reset, no crumbs left. π
[-]biocoll|[-]extras|[-]bioconcepts|[-]generifsβ Download or update auxiliary BioConcept and GeneRIF data.
grab or refresh the auxiliary BioConcept and GeneRIF data. the little extras that make everything hit different. π
[-]nihoccβ Incorporate NIH Open Citation Collection data, downloaded as needed.
folds in NIH Open Citation Collection data, and it downloads whatever it needs along the way. it knows what it wants. π
-ftpβ Download needed data via FTP (default).
the classic route. this is the default, so if you say nothing, this is what you get. β
-http[s]β Download needed data via HTTPS.
same data, but over HTTPS instead. secure vibes only. π
[-path]dir β Place the local archive in dir.
tells it where to put your local archive. pick your dir, live your truth. π¦
[-temp|-work[ing]]dir β Place intermediate subtrees in dir.
this is where the intermediate subtrees hang out while the magic happens. the backstage area. π
π ENVIRONMENT π
EDIRECT_PUBMED_MASTERβ Local archive directory to use in the absence of-path. Expected to hold an absolute path; mandatory when not supplying a path on the command line.
this is your fallback archive directory when you don't pass -path. it has to be an absolute path, and honestly, if you're not giving a path on the command line, this one is mandatory. no ifs, no buts. π
EDIRECT_PUBMED_WORKINGβ Directory to hold intermediate subtrees in the absence of-temp|-work[ing]. Expected to hold an absolute path. Defaults to the primary local archive directory when not set.
where the intermediate subtrees go when you didn't hand it a -temp|-work[ing] directory. also expected to be an absolute path. if you don't set it at all? it just defaults to the primary local archive directory. it handles itself. π
π SEE ALSO π
archive-pmc(1), download-ncbi-data(1), download-pubmed(1), edict(1), expand-current(1), fetch-pubmed(1), phrase-search(1), pm-prepare(1), pm-refresh(1), rchive(1), ref2pmid(1), xtract(1).
the whole friend group π«Ά go read them too, iykyk.
okay that's the page!! this one's from NCBI, dated 2023-03-29, and it's the ARCHIVE-PUBMED(1) page from the NCBI Entrez Direct User's Manual. go build that archive bestie, you're gonna eat πβ¨ππ¦πΈπ
π¦ where this page comes from
- 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