1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238
|
.TH ASN2ALL 1 2016-09-01 NCBI "NCBI Tools User's Manual"
.SH NAME
asn2all \- generate reports from ASN.1 biological data
.SH SYNOPSIS
.B asn2all
[\|\fB\-\fP\|]
[\|\fB\-A\fP\ \fIacc\fP\|]
[\|\fB\-F\fP\ \fIfilename\fP\|]
[\|\fB\-G\fP\|]
[\|\fB\-J\fP\ \fIn\fP\|]
[\|\fB\-K\fP\ \fIn\fP\|]
[\|\fB\-M\fP\|]
[\|\fB\-T\fP\|]
[\|\fB\-X\fP\|]
[\|\fB\-a\fP\ \fItype\fP\|]
[\|\fB\-b\fP\|]
[\|\fB\-c\fP\|]
[\|\fB\-d\fP\ \fIpath\fP\|]
[\|\fB\-f\fP\ \fIformat\fP\|]
[\|\fB\-h\fP\|]
[\|\fB\-i\fP\ \fIfilename\fP\|]
[\|\fB\-k\fP\|]
[\|\fB\-l\fP\|]
[\|\fB\-n\fP\ \fIpolicy\fP\|]
[\|\fB\-o\fP\ \fIfilename\fP\|]
[\|\fB\-p\fP\ \fIpath\fP\|]
[\|\fB\-r\fP\|]
[\|\fB\-s\fP\ \fIdb\fP\|]
[\|\fB\-v\fP\ \fIfilename\fP\|]
[\|\fB\-x\fP\ \fIext\fP\|]
.SH DESCRIPTION
\fBasn2all\fP 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
tables.
.PP
The release files (which have the extension \fB.aso.gz\fP) should be
uncompressed with
.BR gunzip (1),
resulting in files with the extension \fB.aso\fP.
For example, \fBgbpri1.aso\fP is the first file in the primate
division, and the command
.RS
.sp
gunzip gbpri1.aso.gz
.sp
.RE
will result in \fBgbpri1.aso\fP being created.
The original \fBgbpri1.aso.gz\fP file is removed after successful
decompression.
.PP
In \fBasn2all\fP, the name of the file to be processed is specified by
the \fB\-i\fP command line argument.
Use \fB\-a\ t\fP to indicate that it is a release file and \fB\-b\fP to
indicate that it is binary ASN.1.
A text ASN.1 file obtained from Entrez can be processed by using
\fB\-a\ a\fP instead of \fB\-a\ t\ \-b\fP.
.PP
Nucleotide and protein records can be processed simultaneously.
Use the \fB\-o\fP argument to indicate the nucleotide output file, and
the \fB\-v\fP argument for the protein output file.
.PP
The \fB\-f\fP argument determines the format to be generated, and is
documented in more detail (along with other options) in the following
section.
.SH OPTIONS
A summary of options is included below.
.TP
\fB\-\fP
Print usage message
.TP
\fB\-A\fP\ \fIaccession\fP
Accession to fetch; may take the form
.IB accession , complexity , flags
where \fIcomplexity\fP should normally be \fB0\fP and a \fIflags\fP
value of \fB-1\fP enables fetching of external features
.TP
\fB\-F\fP\ \fIfilename\fP
Accession Filter file
.TP
\fB\-G\fP
Relaxed Genome Mapping
.TP
\fB\-J\fP\ \fIn\fP
Seq-loc from
.TP
\fB\-K\fP\ \fIn\fP
Seq-loc to
.TP
\fB\-M\fP
Seq-loc Minus strand
.TP
\fB\-T\fP
Use Threads
.TP
\fB\-X\fP
EXtended qualifier output
.TP
\fB\-a\fP\ \fItype\fP
Input ASN.1 type:
.RS
.PD 0
.IP a
Automatic (default)
.IP c
Catenated
.IP p
Piped
.IP z
Any
.IP e
Seq-entry
.IP b
Bioseq
.IP s
Bioseq-set
.IP m
Seq-submit
.IP t
Batch Bioseq-set
.IP u
Batch Seq-submit
.PD
.RE
.TP
\fB\-b\fP
Bioseq-set is Binary
.TP
\fB\-c\fP
Bioseq-set is Compressed
.TP
\fB\-d\fP\ \fIpath\fP
Path to indexed binary ASN.1 Data
.TP
\fB\-f\fP\ \fIformat\fP
Output Format:
.RS
.PD 0
.IP g
GenBank/GenPept (default)
.IP m
GenBank Master Style
.IP f
FASTA
.IP d
CDS FASTA
.IP e
Gene FASTA
.IP r
Regenerated Defline
.IP t
Sequin-style 5-column feature table
.IP y
TinySet XML (akin to FASTA)
.IP s
INSDSet XML (akin to GenBank/GenPept)
.IP a
structurally equivalent text ASN.1
.IP x
structurally equivalent XML
.IP c
cache components
.PD
.RE
.TP
\fB\-h\fP
Display extra Help message
.TP
\fB\-i\fP\ \fIfilename\fP
Input file name (standard input by default)
.TP
\fB\-k\fP
Enable local fetching
.TP
\fB\-l\fP
Lock components in advance
.TP
\fB\-n\fP\ \fIpolicy\fP
Near FASTA policy:
.RS
.PD 0
.IP a
All
.IP n
Near only (default)
.IP f
Far only
.PD
.RE
.TP
\fB\-o\fP\ \fIfilename\fP
Nucleotide Output file name
.TP
\fB\-p\fP\ \fIpath\fP
Path to files
.TP
\fB\-r\fP
Enable Remote fetching
.TP
\fB\-s\fP\ \fIdb\fP
Source database:
.RS
.PD 0
.IP a
Any (default)
.IP w
Exclude segmented sequences
.PD
.RE
.TP
\fB\-v\fP\ \fIfilename\fP
Protein output file name
.TP
\fB\-x\fP\ \fIext\fP
File selection suffix when working with entire directories.
(default is \fB.aso\fP)
.SH EXAMPLES
The command
.RS
.sp
asn2all \-i gbpri1.aso \-a t \-b \-f g \-o gbpri1.nuc \-v gbpri1.prt
.sp
.RE
will generate GenBank and GenPept reports from \fBgbpri1.aso\fP.
.SH AUTHOR
The National Center for Biotechnology Information.
.SH SEE ALSO
.BR asn2asn (1),
.BR asn2ff (1),
.BR asn2fsa (1),
.BR asn2gb (1),
.BR asn2idx (1),
.BR asn2xml (1),
.BR asndhuff (1),
.BR gene2xml (1),
.BR gunzip (1).
|