asn2all is primarily intended for generating reports from the
binary ASN.1 Bioseq-set release files downloaded from the NCBI ftp
site (ncbi-asn1 directory).
It can produce GenBank and GenPept flatfiles, FASTA sequence files,
INSDSet structured XML, TinySeq XML, and Sequin-style 5-column feature
The release files (which have the extension .aso.gz) should be
resulting in files with the extension .aso.
For example, gbpri1.aso is the first file in the primate
division, and the command
will result in gbpri1.aso being created.
The original gbpri1.aso.gz file is removed after successful
In asn2all, the name of the file to be processed is specified by
the -i command line argument.
Use -a t to indicate that it is a release file and -b to
indicate that it is binary ASN.1.
A text ASN.1 file obtained from Entrez can be processed by using
-a a instead of -a t -b.
Nucleotide and protein records can be processed simultaneously.
Use the -o argument to indicate the nucleotide output file, and
the -v argument for the protein output file.
The -f argument determines the format to be generated, and is
documented in more detail (along with other options) in the following
A summary of options is included below.
Print usage message
Accession to fetch
EXtended qualifier output
Input ASN.1 type:
batch processing (suitable for official releases; autodetects specific type)
Bioseq-set is Binary
Bioseq-set is Compressed
Path to indexed binary ASN.1 Data
Sequin-style 5-column feature table
TinySet XML (akin to FASTA)
INSDSet XML (akin to GenBank/GenPept)
structurally equivalent text ASN.1
structurally equivalent XML
Display extra Help message
Input file name (standard input by default)
Enable local fetching
Lock components in advance
Near FASTA policy:
Near only (default)
Nucleotide Output file name
Path to files
Enable Remote fetching
Protein output file name
File selection suffix when working with entire directories.
(default is .aso)
asn2all -i gbpri1.aso -a t -b -f g -o gbpri1.nuc -v gbpri1.prt
will generate GenBank and GenPept reports from gbpri1.aso.
The National Center for Biotechnology Information.