DOKK / manpages / debian 11 / ncbi-entrez-direct / efilter.1.en
EFILTER(1) NCBI Entrez Direct User's Manual EFILTER(1)
NCBI "NCBI Entrez Direct User's Manual"

efilter - filter and/or sort NCBI Entrez search results

efilter (efetch -filter) [-help] [-q[uery] str] [-sort field] [-days N] [-datetype field] [-mindate date] [-maxdate date] [-field field] [-pairs field] [-spell] [-pub type] [-journal name] [-released when] [-country name] [-feature type] [-location type] [-molecule type] [-organism type] [-source type] [-division code] [-status alive] [-type type] [-class class] [-kind pathway] [-pathway type]

efilter filters and/or sorts results from a previous edirect(1) search.

It has two implementations: a shell implementation on top of nquire(1) and a historical Perl implementation that amounts to running edirect -filter, enabled by setting the environment variable USE_NEW_EDIRECT to a false value as described in the ENVIRONMENT section. Some options are implementation-specific, as detailed below.

Limit results to those matching the given query string.

Sort results by the given field.

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

Query words individually in field.
Query overlapping word pairs.

Correct misspellings in query.

abstract, clinical, english, free, historical, journal, preprint, review, structured.
pnas, "j bacteriol", ...
last_week, last_month, last_year, prev_years.

usa:minnesota, united_kingdom, "pacific ocean", ...
gene, mrna, cds, mat_peptide, ...
mitochondrion, chloroplast, plasmid, plastid.
genomic, mrna, trna, rrna, ncrna.
animals, archaea, bacteria, eukaryotes, fungi, human, insects, mammals, plants, prokaryotes, protists, rodents, viruses, ...
genbank, insd, pdb, pir, refseq, swissprot, tpa
Three-letter GenBank division code: bct, con, env, est, gss, htc, htg, inv, mam, pat, phg, pln, pri, rod, sts, syn, una, vrl, or vrt.

coding, pseudo.

acceptor, donor, coding, frameshift, indel, intron, missense, nonsense, synonymous.

reactome, wikipathways.

Print usage information.

Whether to use the current shell implementation or revert to the historical Perl implementation. Canonical true values are 1, on (case-insensitive), true (case-insensitive), and yes (case-insensitive); canonical false values are 0, off (case-insensitive), false (case-insensitive), and no (case-insensitive).

edirect(1), esearch(1), nquire(1), exclude-uid-lists(1).

2021-01-20 NCBI