ECOLLECT(1)
β¨ ecollect(1) β¨
okay so bestie, welcome to ecollect β it's the NCBI Entrez Direct user's manual page, and no cap, this little tool is the one that goes and gets you the unique identifiers from NCBI Entrez. π
π NAME π
ecollect β list NCBI Entrez unique identifiers
Like, that's it. That's the whole job. It lists UIDs. And it does it beautifully. π
πΈ SYNOPSIS πΈ
ecollect -db name -web str -key N [-days|-reldate N] [-datetype field]
[-mindate date] [-maxdate date]
ecollect -db name -query str [-days|-reldate N] [-datetype field]
[-mindate date] [-maxdate date]
ecollect -db name -id str...|-rest str|-input file
So there's three whole vibes you can run this in: hit it with a live query via -web + -key, or via -query, or just hand it UIDs you already have. Pick your lane. π¦
π DESCRIPTION π
ecollect lists unique identifiers from NCBI Entrez, either corresponding to a live query or explicitly supplied. Either way? It hands them to you:
- one per line π
- in numerical order π’
- with any duplicates consolidated β¨
not me being obsessed with a tool that just cleans up after itself. iconic behavior fr fr. π
π OPTIONS π
π Source Specification π
-dbname β the Entrez database name. And heads up bestie: this one is mandatory even when you're explicitly supplying UIDs. Yeah, even then. Don't skip it. π-webstr β the NCBI WebEnv value that corresponds to a previous query. You can optionally still filter it further by date if you want. ποΈ-keyN β that query's number. (the little companion to-web, they're a package deal π«Ά)-querystr β a query string. Just, like, say what you want. π¬-idstr ... |-reststr β existing UID(s) to format. They may be internally delimited by whitespace and any punctuation other than.or_. β οΈ yep,.and_are NOT delimiters, so don't come for me when they don't split.-inputfile β read UIDs from the specified file. π
πΈ Date Constraint πΈ
-days|-reldateN β return only results from the past N days. π°οΈ-datetypefield β which date field (in abbreviated form) to consider. π-mindatedate β start of date range. π-maxdatedate β end of date range. π
π SEE ALSO π
cit2pmid(1), combine-uid-lists(1), difference-uid-lists(1), efetch(1), efilter(1), elink(1), esearch(1), exclude-uid-lists(1), intersect-uid-lists(1), nquire(1), xfetch(1), xfilter(1), xlink(1), xsearch(1).
the whole friend group is linked, go say hi π
and that's the page!! this one's from NCBI, dated 2025-05-26, and it lives in the NCBI Entrez Direct User's Manual. mwah, go collect those UIDs bestie π β¨π¦
π¦ 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