ecollect(1)

ecollect1

List ncbi entrez unique identifiers

Usage

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}

Overview

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.

Options

Source Specification

-db name

Entrez database name. Mandatory even when explicitly supplying UIDs.

-web str

NCBI WebEnv value corresponding to a previous query, optionally subject to further filtering by date.

-key N

That query's number.

-query str

Query string.

-id str ...|-rest str

Existing UID(s) to format; may be internally delimited by whitespace and any punctuation other than . or _.

-input file

Read UIDs from the specified file.

Date Constraint

-days|-reldate N

Return only results from the past N days.

-datetype field

Which date field (in abbreviated form) to consider.

-mindate date

Start of date range.

-maxdate date

End of date range.

From ncbi-entrez-direct 24.0.20250523+dfsg-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.