ASN2ALL(1)
β¨ ASN2ALL(1) β the NCBI Tools User's Manual glow-up β¨
okay so bestie, gather round, because we're talking about asn2all β a little NCBI icon that turns ASN.1 biological data into literally every report format you could want. she contains multitudes π
π NAME π
asn2all β generate reports from ASN.1 biological data
πΈ SYNOPSIS πΈ
asn2all [-] [-A acc] [-F filename] [-G] [-J n] [-K n] [-M] [-T] [-X]
[-a type] [-b] [-c] [-d path] [-f format] [-h] [-i filename] [-k] [-l]
[-n policy] [-o filename] [-p path] [-r] [-s db] [-v filename] [-x ext]
π¦ DESCRIPTION π¦
so asn2all is primarily intended for making reports out of the binary ASN.1 Bioseq-set release files you download from the NCBI ftp site (that's the ncbi-asn1 directory, iykyk). and she's flexible fr β she can produce:
- GenBank and GenPept flatfiles
- FASTA sequence files
- INSDSet structured XML
- TinySeq XML
- Sequin-style 5-column feature tables
the release files have the extension .aso.gz, and bestie you must uncompress them with gunzip(1) first, which gives you files with the extension .aso. like, for example, gbpri1.aso is the first file in the primate division, and this command:
gunzip gbpri1.aso.gz
will result in gbpri1.aso being created. and heads up β the original gbpri1.aso.gz file gets removed after successful decompression, so don't come crying to me π
in asn2all, you tell her which file to process with the -i command line argument. use -a t to say "hey this is a release file" and -b to say "hey this is binary ASN.1". if you've got a text ASN.1 file from Entrez instead, just use -a a instead of -a t -b. easy π
nucleotide and protein records can be processed simultaneously β no cap, at the same time. use -o to point at the nucleotide output file, and -v for the protein output file. two files, one run, main character energy π
the -f argument decides which format gets generated, and it's documented in more detail (along with other options) in the next section. keep scrolling babe β¬οΈ
π OPTIONS π
a summary of options is included below. yes, all of them. we're not skipping a single one, periodt.
-β Print usage message-Aaccession β Accession to fetch; may take the form accession,complexity,flags where complexity should normally be0and a flags value of-1enables fetching of external features-Ffilename β Accession Filter file-Gβ Relaxed Genome Mapping-Jn β Seq-loc from-Kn β Seq-loc to-Mβ Seq-loc Minus strand-Tβ Use Threads-Xβ EXtended qualifier output-atype β Input ASN.1 type:aβ Automatic (default)cβ Catenatedpβ Pipedzβ Anyeβ Seq-entrybβ Bioseqsβ Bioseq-setmβ Seq-submittβ Batch Bioseq-setuβ Batch Seq-submit
-bβ Bioseq-set is Binary-cβ Bioseq-set is Compressed-dpath β Path to indexed binary ASN.1 Data-fformat β Output Format:gβ GenBank/GenPept (default)mβ GenBank Master Stylefβ FASTAdβ CDS FASTAeβ Gene FASTArβ Regenerated Deflinetβ Sequin-style 5-column feature tableyβ TinySet XML (akin to FASTA)sβ INSDSet XML (akin to GenBank/GenPept)aβ structurally equivalent text ASN.1xβ structurally equivalent XMLcβ cache components
-hβ Display extra Help message-ifilename β Input file name (standard input by default)-kβ Enable local fetching-lβ Lock components in advance-npolicy β Near FASTA policy:aβ Allnβ Near only (default)fβ Far only
-ofilename β Nucleotide Output file name-ppath β Path to files-rβ Enable Remote fetching-sdb β Source database:aβ Any (default)wβ Exclude segmented sequences
-vfilename β Protein output file name-xext β File selection suffix when working with entire directories. (default is.aso)
π₯ EXAMPLES π₯
this command right here:
asn2all -i gbpri1.aso -a t -b -f g -o gbpri1.nuc -v gbpri1.prt
will generate GenBank and GenPept reports from gbpri1.aso. iconic, honestly. ate and left no crumbs π
π«Ά AUTHOR π«Ά
The National Center for Biotechnology Information.
β SEE ALSO β
asn2asn(1), asn2ff(1), asn2fsa(1), asn2gb(1), asn2idx(1), asn2xml(1), asndhuff(1), gene2xml(1), gunzip(1).
and that's the whole vibe bestie π this page came from NCBI, dated 2016-09-01, and it's ASN2ALL(1) β go forth and generate some reports, you've got this πβ¨
π¦ where this page comes from
- debian bookworm: ncbi-tools-bin 6.1.20170106+dfsg1-10 Β· public_domain
- debian trixie: ncbi-tools-bin 6.1.20170106+dfsg2-6 Β· public_domain
- ubuntu jammy: ncbi-tools-bin 6.1.20170106+dfsg1-9 Β· public_domain
- ubuntu noble: ncbi-tools-bin 6.1.20170106+dfsg2-2 Β· public_domain
- ubuntu questing: ncbi-tools-bin 6.1.20170106+dfsg2-6
- ubuntu resolute: ncbi-tools-bin 6.1.20170106+dfsg2-7 Β· public_domain
- ubuntu stonking: ncbi-tools-bin 6.1.20170106+dfsg2-7 Β· public_domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms