Debian Codegraph @

debian/man/xfetch.1

raw
1 .TH XFETCH 1 2025-05-26 NCBI "NCBI Entrez Direct User's Manual"
2 .SH NAME
3 xfetch \- fetch records from a local NCBI Entrez Direct archive by UID
4 .SH SYNOPSIS
5 .B xfetch
6 [\|\fB\-db\fP\ \fIdatabase\fP\|]
7 [\|\fB\-id\fP\ \fIstr\fP...|\fB\-input\fP\ \fIfile\fP\|]
8 [\|\fB\-stream\fP\]
9 .SH DESCRIPTION
10 \fBxfetch\fP prints to standard output requested portions of
11 a local NCBI Entrez Direct archive produced by
12 \fBarchive\-pubmed\fP(1) or the like,
13 typically for further processing by \fBxtract\fP(1) or the like.
14
15 By default, it looks to standard input for either a raw list of UIDs
16 or an \fBENTREZ_DIRECT\fP XML object
17 that additionally holds a database name.
18 .SH OPTIONS
19 .TP
20 \fB\-db\fP\ \fIdatabase\fP
21 Fetch from the specified database, \fBpubmed\fP by default for now.
22 (Explicitly specifying a database
23 either on the command line or via \fBENTREZ_DIRECT\fP XML
24 will eventually become mandatory.)
25 .TP
26 \fB\-id\fP\ \fIstr\fP ...
27 UID(s) to fetch;
28 may be internally delimited by whitespace
29 and any punctuation other than \fB.\fP or \fB_\fP.
30 .TP
31 \fB\-input\fP\ \fIfile\fP
32 Read UIDs from the specified file.
33 .TP
34 \fB\-stream\fP
35 Leave records compressed.
36 .SH ENVIRONMENT
37 .TP
38 .B EDIRECT_LOCAL_ARCHIVE
39 Local archive directory.
40 Expected to hold an absolute path;
41 mandatory when not supplying a path on the command line.
42 .SH SEE ALSO
43 .BR archive\-nihocc (1),
44 .BR archive\-nlmnlp (1),
45 .BR archive\-nmcds (1),
46 .BR archive\-pids (1),
47 .BR archive\-pmc (1),
48 .BR archive\-pubmed (1),
49 .BR archive\-taxonomy (1),
50 .BR cit2pmid (1),
51 .BR combine\-uid\-lists (1),
52 .BR difference\-uid\-lists (1),
53 .BR download\-ncbi\-data (1),
54 .BR download\-pmc (1),
55 .BR download\-pubmed (1),
56 .BR ds2pme (1),
57 .BR ds2pme (1),
58 .BR ecollect (1),
59 .BR edict (1),
60 .BR efetch (1),
61 .BR elink (1),
62 .BR esample (1),
63 .BR esearch (1),
64 .BR exclude\-uid\-lists (1),
65 .BR intersect\-uid\-lists (1),
66 .BR pm\-refresh (1),
67 .BR pma2apa (1),
68 .BR pma2apa (1),
69 .BR pma2pme (1),
70 .BR pma2pme (1),
71 .BR pmc2bioc (1),
72 .BR pmc2info (1),
73 .BR rchive (1),
74 .BR transmute (1),
75 .BR xfilter (1),
76 .BR xinfo (1),
77 .BR xlink (1),
78 .BR xsearch (1),
79 .BR xtract (1).