DOKK / manpages / debian 13 / ncbi-entrez-direct / filter-genbank.1.en
FILTER-GENBANK(1) NCBI Entrez Direct User's Manual FILTER-GENBANK(1)

filter-genbank, filter-record - filter structured files

filter-genbank [-accession acc|-accessions file] [-taxid id|-taxids file] [-organism name] [-exclude str] [-require str] [-truncate]

filter-record [-pattern str] [-exclude str] [-require str] [-min N] [-max N]

These commands simply invoke corresponding transmute(1) modes; each reads a stream of data from standard input, filters it as desired, and writes the result to standard output. Specifically, filter-genbank corresponds to transmute -gbf, filtering NCBI GenBank/GenPept release flatfiles, and filter-record corresponds to transmute -txf, filtering any text file whose records all start with the same distinct string.

See transmute(1).

transmute(1),

2025-05-26 NCBI