CUSTOM-INDEX(1)
π CUSTOM-INDEX(1) π
okay so bestie, welcome to the NCBI Entrez Direct User's Manual β this is the page for custom-index, and yes it's a whole moment. π
β¨ NAME β¨
custom-index β add a custom index to a local NCBI Entrez archive π
πΈ SYNOPSIS πΈ
custom-index helper field ...
that's it, that's the whole vibe. a helper, then some fields, then whatever else you feel like throwing in there. π¦
π«Ά DESCRIPTION π«Ά
So here's the tea: custom-index adds a custom index for one or more specified fields to a local NCBI Entrez Archive, and it does this based on a supplied helper command that produces an Entrez-style XML index. It's giving "you bring the helper, I'll bring the indexing." β¨
On Debian systems, some such helpers are /usr/share/doc/ncbi-entrez-direct/examples/idx-*. yes literally that glob, go look, they're right there. π
π OPTIONS π
helperβ the helper command that each uncompressed document gets piped into. every single uncompressed doc, one at a time, straight into the helper. no cap. π₯fieldβ the name of a field you're indexing (e.g.,ANUM). and yes you can pass more than one, hence the...in the synopsis. she's flexible like that. π
π ENVIRONMENT π
EDIRECT_LOCAL_ARCHIVEβ the local archive directory to use. It's expected to hold an absolute path. fr fr, absolute. don't come in here with a relative path, she will not know what you mean. πEDIRECT_LOCAL_WORKINGβ the directory that holds the intermediate subtrees. Also expected to hold an absolute path. And when it's not set? It defaults to the local archive directory. π§ cute little fallback behaviour, we love to see it. π
π¦ SEE ALSO π¦
go read these next, bestie, they're all in the family: archive-pubmed(1), rchive(1), xtract(1). π β¨
and that's the whole page!! you ate that. go index something. π
signing off with love from NCBI β this page is dated 2025-05-26, so you know it's fresh. mwah. ππ
π¦ 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