| 1 |
.TH ECOLLECT 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual" |
| 2 |
.SH NAME |
| 3 |
ecollect \- list NCBI Entrez unique identifiers |
| 4 |
.SH SYNOPSIS |
| 5 |
\fBecollect\fP |
| 6 |
\fB\-db\fP\ \fIname\fP |
| 7 |
\fB\-web\fP\ \fIstr\fP |
| 8 |
\fB\-key\fP\ \fIN\fP |
| 9 |
[\|\fB\-days\fP|\fB\-reldate\fP\ \fIN\fP\|] |
| 10 |
[\|\fB\-datetype\fP\ \fIfield\fP\|] |
| 11 |
[\|\fB\-mindate\fP\ \fIdate\fP\|] |
| 12 |
[\|\fB\-maxdate\fP\ \fIdate\fP\|] |
| 13 |
|
| 14 |
\fBecollect\fP |
| 15 |
\fB\-db\fP\ \fIname\fP |
| 16 |
\fB\-query\fP\ \fIstr\fP |
| 17 |
[\|\fB\-days\fP|\fB\-reldate\fP\ \fIN\fP\|] |
| 18 |
[\|\fB\-datetype\fP\ \fIfield\fP\|] |
| 19 |
[\|\fB\-mindate\fP\ \fIdate\fP\|] |
| 20 |
[\|\fB\-maxdate\fP\ \fIdate\fP\|] |
| 21 |
|
| 22 |
\fBecollect\fP |
| 23 |
\fB\-db\fP\ \fIname\fP |
| 24 |
\fB\-id\fP\ \fIstr\fP...|\fB\-rest\fP\ \fIstr\fP|\fB\-input\fP\ \fIfile\fP |
| 25 |
.SH DESCRIPTION |
| 26 |
\fBecollect\fP lists unique identifiers from NCBI Entrez, |
| 27 |
either corresponding to a live query or explicitly supplied. |
| 28 |
In either case, it presents them one per line |
| 29 |
in numerical order with any duplicates consolidated. |
| 30 |
.SH OPTIONS |
| 31 |
.SS Source Specification |
| 32 |
.TP |
| 33 |
\fB\-db\fP\ \fIname\fP |
| 34 |
Entrez database name. |
| 35 |
Mandatory even when explicitly supplying UIDs. |
| 36 |
.TP |
| 37 |
\fB\-web\fP\ \fIstr\fP |
| 38 |
NCBI \fBWebEnv\fP value corresponding to a previous query, |
| 39 |
optionally subject to further filtering by date. |
| 40 |
.TP |
| 41 |
\fB\-key\fP\ \fIN\fP |
| 42 |
That query's number. |
| 43 |
.TP |
| 44 |
\fB\-query\fP\ \fIstr\fP |
| 45 |
Query string. |
| 46 |
.TP |
| 47 |
\fB\-id\fP\ \fIstr\fP ...|\fB\-rest\fP\ \fIstr\fP |
| 48 |
Existing UID(s) to format; |
| 49 |
may be internally delimited by whitespace |
| 50 |
and any punctuation other than \fB.\fP or \fB_\fP. |
| 51 |
.TP |
| 52 |
\fB\-input\fP\ \fIfile\fP |
| 53 |
Read UIDs from the specified file. |
| 54 |
.SS Date Constraint |
| 55 |
.TP |
| 56 |
\fB\-days\fP|\fB\-reldate\fP\ \fIN\fP |
| 57 |
Return only results from the past \fIN\fP days. |
| 58 |
.TP |
| 59 |
\fB\-datetype\fP\ \fIfield\fP |
| 60 |
Which date field (in abbreviated form) to consider. |
| 61 |
.TP |
| 62 |
\fB\-mindate\fP\ \fIdate\fP |
| 63 |
Start of date range. |
| 64 |
.TP |
| 65 |
\fB\-maxdate\fP\ \fIdate\fP |
| 66 |
End of date range. |
| 67 |
.SH SEE ALSO |
| 68 |
.BR cit2pmid (1), |
| 69 |
.BR combine\-uid\-lists (1), |
| 70 |
.BR difference\-uid\-lists (1), |
| 71 |
.BR efetch (1), |
| 72 |
.BR efilter (1), |
| 73 |
.BR elink (1), |
| 74 |
.BR esearch (1), |
| 75 |
.BR exclude\-uid\-lists (1), |
| 76 |
.BR intersect\-uid\-lists (1), |
| 77 |
.BR nquire (1), |
| 78 |
.BR xfetch (1), |
| 79 |
.BR xfilter (1), |
| 80 |
.BR xlink (1), |
| 81 |
.BR xsearch (1). |