DOKK / manpages / debian 13 / ncbi-entrez-direct / ecollect.1.en
ECOLLECT(1) NCBI Entrez Direct User's Manual ECOLLECT(1)

ecollect - list NCBI Entrez unique identifiers

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

ecollect lists unique identifiers from NCBI Entrez, either corresponding to a live query or explicitly supplied. In either case, it presents them one per line in numerical order with any duplicates consolidated.

Entrez database name. Mandatory even when explicitly supplying UIDs.
NCBI WebEnv value corresponding to a previous query, optionally subject to further filtering by date.
That query's number.
Query string.
Existing UID(s) to format; may be internally delimited by whitespace and any punctuation other than . or _.
Read UIDs from the specified file.

Return only results from the past N days.
Which date field (in abbreviated form) to consider.
Start of date range.
End of date range.

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).

2025-05-26 NCBI