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 π¬-Aaccession β the accession to fetch. it may take the formaccession,complexity,flagsβ where complexity should normally be0, and a flags value of-1enables fetching of external features (same energy as the legacy-Foption).-Fβ fetch remote annotations. this is equivalent to specifying-A accession,0,-1βοΈ-aasn-type β the ASN.1 Type:- [Single record]
aβ Any (autodetected; default) πeβ seq-Entrybβ Bioseqsβ bioseq-Setmβ seq-subMitqβ Catenated
- [Release file; components individually processed and freed]
tβ baTch bioseq-setuβ batch seq-sUbmit
- [Single record]
-bβ input file is binary π’-cβ batch file is compressed ποΈ-dβ Seq-loc minus strand ‡οΈ-fformat β the Format:bβ GenBank (default) πbporpbβ GenBank and GenPepteβ EMBLpβ GenPeptqβ nucleotide GBSet (XML)rβ protein GBSet (XML)tβ Feature table onlyxβ nucleotide INSDSet (XML)yβ tiny seq (XML)Yβ FASTAzβ protein INSDSet (XML)
-gN β Bit flags (they all default to off):1β HTML2β XML4β ContigFeats8β ContigSrcs16β FarTransl
-hN β Lock/Lookup Flags (all default to off):8β LockProd16β LookupComp64β LookupProd
-ifilename β input file name (default =stdin) π₯-jN β start location (default is0, beginning of sequence) π-kN β end location (default is0, end of sequence) π-lfilename β log file π-mmode β the Mode:rβ Releaseeβ Entrezsβ Sequin (default)dβ Dump
-nfilename β Asn2Flat Executable (default =asn2flat) βοΈ-ofilename β output file name (default =stdout) π€-pβ propagate top descriptors π-qfilename β Ffdiff Executable (default =/netopt/genbank/subtool/bin/ffdiff) βοΈ-rβ enable remote fetching π‘-sstyle β the Style:nβ Normal (default)sβ Segmentmβ Mastercβ Contig
-tN β Batch:1β Report2β Sequin/Release3β asn2gb SSEC/nocleanup4β asn2flat BSEC/nocleanup5β asn2gb/asn2flat6β asn2gb NEW dbxref/OLD dbxref7β oldasn2gb/newasn2gb
-uN β Custom flags (all default to off):4β Hide features1792β Hide references8192β Hide sources262144β Hide translations
-yN β 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
- 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