.TH EFETCH 1 2017-01-24 NCBI "NCBI Entrez Direct User's Manual" .SH NAME efetch, esummary \- retrieve results from an NCBI Entrez search .SH SYNOPSIS \fBefetch\fP (\fBedirect\ \-fetch\fP) [\|\fB\-help\fP\|] [\|\fB\-format\fP\ \fIfmt\fP\|] [\|\fB\-mode\fP\ \fImode\fP\|] [\|\fB\-db\fP\ \fIname\fP\|] [\|\fB\-id\fP\ \fIID\fP\|] [\|\fB\-seq_start\fP\ \fIN\fP\|] [\|\fB\-seq_stop\fP\ \fIN\fP\|] [\|\fB\-strand\fP\ \fIN\fP\|] [\|\fB\-chr_start\fP\ \fIN\fP\|] [\|\fB\-chr_stop\fP\ \fIN\fP\|] [\|\fB\-complexity\fP\ \fIN\fP\|] [\|\fB\-extend\fP\ \fIN\fP\|] [\|\fB\-extrafeat\fP\ \fIN\fP\|] \fBesummary\fP (\fBedirect\ \-summary\fP) [\|\fB\-help\fP\|] [\|\fB\-mode\fP\ \fImode\fP\|] [\|\fB\-db\fP\ \fIname\fP\|] [\|\fB\-id\fP\ \fIID\fP\|] [\|\fB\-seq_start\fP\ \fIN\fP\|] [\|\fB\-seq_stop\fP\ \fIN\fP\|] [\|\fB\-strand\fP\ \fIN\fP\|] [\|\fB\-chr_start\fP\ \fIN\fP\|] [\|\fB\-chr_stop\fP\ \fIN\fP\|] [\|\fB\-complexity\fP\ \fIN\fP\|] [\|\fB\-extend\fP\ \fIN\fP\|] [\|\fB\-extrafeat\fP\ \fIN\fP\|] .SH DESCRIPTION \fBefetch\fP and \fBesummary\fP retrieve results from either an \fBedirect\fP(1) pipeline or an immediate lookup (via \fB\-db\fP and \fB\-id\fP). \fBesummary\fP is equivalent to \fBefetch -format docsum\fP. \fBefetch\fP is also the name of an AceDB tool for consulting local sequence databases. To resolve this ambiguity, Debian systems with both AceDB tools and Entrez Direct installed arrange for AceDB's executable to have the name \fBefetch.acedb\fP(1) and for \fBefetch\fP to be a wrapper script that examines its usage and proceeds to run whichever of \fBedirect \-fetch\fP or \fBefetch.acedb\fP(1) looks like a better fit. .SH OPTIONS .SS Format Selection .TP \fB\-format\fP\ \fIfmt\fP Format of record or report. (See \fB-help\fP output for examples.) .TP \fB\-mode\fP\ \fImode\fP .BR text , .BR xml , .BR asn.1 , or .BR json . .SS Direct Record Selection .TP \fB\-db\fP\ \fIname\fP Entrez database name for immediate lookups. .TP \fB\-id\fP\ \fIID\fP Unique identifier or accession for immediate lookups. .SS Sequence Range .TP \fB\-seq_start\fP\ \fIN\fP First sequence position to retrieve (1\-based). .TP \fB\-seq_stop\fP\ \fIN\fP Last sequence position to retrieve (1\-based). .TP \fB\-strand\fP\ \fIN\fP Strand of DNA to retrieve: \fB1\fP for plus, \fB2\fP for minus. .SS Gene Range .TP \fB\-chr_start\fP\ \fIN\fP First sequence position to retrieve (0\-based). .TP \fB\-chr_stop\fP\ \fIN\fP Last sequence position to retrieve (1\-based). .SS Miscellaneous .TP \fB\-help\fP Print usage information, complete with examples of notable .BR \-db / \-format / \-mode combinations. .TP \fB\-complexity\fP\ \fIN\fP How much context to fetch: .RS .PD 0 .IP \fB0\fP default .IP \fB1\fP Bioseq .IP \fB3\fP Nuc\-prot set .PD .RE .TP \fB\-extend\fP\ \fIN\fP Extend sequence retrieval by \fIN\fP residues in both directions. .TP \fB\-extrafeat\fP\ \fIN\fP Bit flag specifying extra features. .SH SEE ALSO .BR edirect (1), .BR efetch.acedb (1), .BR esearch (1), .BR xtract (1).