ASN2GB(1)

πŸ’– ASN2GB πŸ’–

okay bestie, so this is asn2gb(1), a page from the NCBI Tools User's Manual, and honestly? it's giving "glow-up era". it converts ASN.1 biological data into a GenBank-style flat format. we're so back.


✨ NAME ✨

asn2gb β€” convert ASN.1 biological data to a GenBank-style flat format 🧬✨


🌸 SYNOPSIS 🌸

asn2gb [-] [-A accession] [-F] [-a asn-type] [-b] [-c] [-d] [-f format]
[-g N] [-h N] [-i filename] [-j N] [-k N] [-l filename] [-m mode]
[-n filename] [-o filename] [-p] [-q filename] [-r] [-s style] [-t N]
[-u N] [-y N]

πŸ¦‹ DESCRIPTION πŸ¦‹

so asn2gb takes descriptions of biological sequences from NCBI's ASN.1 format and turns them into one of several flat-file formats. and it's literally the successor to asn2ff(1) β€” out with the old, in with the icon. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

a summary of options is included below, and yes we're doing all of them, no skipping, that's the rule bestie.

  • - β€” print the usage message πŸ’¬
  • -A accession β€” the accession to fetch. it may take the form accession,complexity,flags β€” where complexity should normally be 0, and a flags value of -1 enables fetching of external features (same energy as the legacy -F option).
  • -F β€” fetch remote annotations. this is equivalent to specifying -A accession,0,-1 ✈️
  • -a asn-type β€” the ASN.1 Type:
    • [Single record]
      • a β€” Any (autodetected; default) πŸ”
      • e β€” seq-Entry
      • b β€” Bioseq
      • s β€” bioseq-Set
      • m β€” seq-subMit
      • q β€” Catenated
    • [Release file; components individually processed and freed]
      • t β€” baTch bioseq-set
      • u β€” batch seq-sUbmit
  • -b β€” input file is binary πŸ”’
  • -c β€” batch file is compressed πŸ—œοΈ
  • -d β€” Seq-loc minus strand ‡️
  • -f format β€” the Format:
    • b β€” GenBank (default) 🌟
    • bp or pb β€” GenBank and GenPept
    • e β€” EMBL
    • p β€” GenPept
    • q β€” nucleotide GBSet (XML)
    • r β€” protein GBSet (XML)
    • t β€” Feature table only
    • x β€” nucleotide INSDSet (XML)
    • y β€” tiny seq (XML)
    • Y β€” FASTA
    • z β€” protein INSDSet (XML)
  • -g N β€” Bit flags (they all default to off):
    • 1 β€” HTML
    • 2 β€” XML
    • 4 β€” ContigFeats
    • 8 β€” ContigSrcs
    • 16 β€” FarTransl
  • -h N β€” Lock/Lookup Flags (all default to off):
    • 8 β€” LockProd
    • 16 β€” LookupComp
    • 64 β€” LookupProd
  • -i filename β€” input file name (default = stdin) πŸ“₯
  • -j N β€” start location (default is 0, beginning of sequence) 🏁
  • -k N β€” end location (default is 0, end of sequence) 🏁
  • -l filename β€” log file πŸ“
  • -m mode β€” the Mode:
    • r β€” Release
    • e β€” Entrez
    • s β€” Sequin (default)
    • d β€” Dump
  • -n filename β€” Asn2Flat Executable (default = asn2flat) βš™οΈ
  • -o filename β€” output file name (default = stdout) πŸ“€
  • -p β€” propagate top descriptors πŸ”
  • -q filename β€” Ffdiff Executable (default = /netopt/genbank/subtool/bin/ffdiff) βš™οΈ
  • -r β€” enable remote fetching πŸ“‘
  • -s style β€” the Style:
    • n β€” Normal (default)
    • s β€” Segment
    • m β€” Master
    • c β€” Contig
  • -t N β€” Batch:
    • 1 β€” Report
    • 2 β€” Sequin/Release
    • 3 β€” asn2gb SSEC/nocleanup
    • 4 β€” asn2flat BSEC/nocleanup
    • 5 β€” asn2gb/asn2flat
    • 6 β€” asn2gb NEW dbxref/OLD dbxref
    • 7 β€” oldasn2gb/newasn2gb
  • -u N β€” Custom flags (all default to off):
    • 4 β€” Hide features
    • 1792 β€” Hide references
    • 8192 β€” Hide sources
    • 262144 β€” Hide translations
  • -y N β€” Feature itemID 🏷️

πŸ’œ AUTHOR πŸ’œ

The National Center for Biotechnology Information. shoutout, genuinely iconic of them πŸ’…


🌈 SEE ALSO 🌈

asn2all(1), asn2asn(1), asn2ff(1), asn2fsa(1), asn2xml(1), asndhuff(1), insdseqget(1), /usr/share/doc/libncbi6-dev/asn2gb.txt.gz.


and that's the whole page bestie, no cap. if you need me i'll be in the docs, being obsessed with flat files 🫢

NCBI Β· 2016-09-01 β€” yeah this one's from September 1, 2016, so it's lowkey vintage, but she still ate. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from