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
  • -A accession β€” Accession to fetch; may take the form accession,complexity,flags where complexity should normally be 0 and a flags value of -1 enables fetching of external features
  • -F filename β€” Accession Filter file
  • -G β€” Relaxed Genome Mapping
  • -J n β€” Seq-loc from
  • -K n β€” Seq-loc to
  • -M β€” Seq-loc Minus strand
  • -T β€” Use Threads
  • -X β€” EXtended qualifier output
  • -a type β€” Input ASN.1 type:
    • a β€” Automatic (default)
    • c β€” Catenated
    • p β€” Piped
    • z β€” Any
    • e β€” Seq-entry
    • b β€” Bioseq
    • s β€” Bioseq-set
    • m β€” Seq-submit
    • t β€” Batch Bioseq-set
    • u β€” Batch Seq-submit
  • -b β€” Bioseq-set is Binary
  • -c β€” Bioseq-set is Compressed
  • -d path β€” Path to indexed binary ASN.1 Data
  • -f format β€” Output Format:
    • g β€” GenBank/GenPept (default)
    • m β€” GenBank Master Style
    • f β€” FASTA
    • d β€” CDS FASTA
    • e β€” Gene FASTA
    • r β€” Regenerated Defline
    • t β€” Sequin-style 5-column feature table
    • y β€” TinySet XML (akin to FASTA)
    • s β€” INSDSet XML (akin to GenBank/GenPept)
    • a β€” structurally equivalent text ASN.1
    • x β€” structurally equivalent XML
    • c β€” cache components
  • -h β€” Display extra Help message
  • -i filename β€” Input file name (standard input by default)
  • -k β€” Enable local fetching
  • -l β€” Lock components in advance
  • -n policy β€” Near FASTA policy:
    • a β€” All
    • n β€” Near only (default)
    • f β€” Far only
  • -o filename β€” Nucleotide Output file name
  • -p path β€” Path to files
  • -r β€” Enable Remote fetching
  • -s db β€” Source database:
    • a β€” Any (default)
    • w β€” Exclude segmented sequences
  • -v filename β€” Protein output file name
  • -x ext β€” 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