ASNTOOL(1)
π ASNTOOL(1) β the NCBI Tools User's Manual glow-up π
okay bestie, sit down, hydrate, and let me tell you about asntool β it's from the NCBI Tools User's Manual and it's literally the moment your ASN.1 module specs get read, validated, and shown off. main character energy fr fr π¦
β¨ NAME β¨
asntool β process ASN.1 module specifications π
π SYNOPSIS π
asntool [-] [-B filename] [-D N] [-F N] [-G] [-I str] [-J type] [-K str]
[-L str] [-M filename,...] [-N N] [-P str] [-Q] [-S filename]
[-T filename] [-U N] [-V] [-X filename] [-Z] [-b N] [-d filename]
[-e filename] [-f filename] [-l filename] -m filename [-o filename]
[-p filename] [-t str] [-v filename] [-w N] [-x filename]
heads up: -m filename is not in brackets, bestie. it's required. the rest are optional. periodt.
πΈ DESCRIPTION πΈ
asntool reads, validates, and displays ASN.1 module specifications. that's it, that's the whole vibe check β it takes your ASN.1 modules, checks they're not a mess, and shows you what's up. π
π OPTIONS π
here's the summary of options, and yes, we're going through every single one. no skipping, no summarizing, we don't do that here. π
-β print the usage message. just a lil dash, doing a whole lot. π«Ά-B filenameβ generate objects and code into files namedfilename.*β¨-D Nβ debugging level for code generation, pick your chaos:0β no debugging (this is the default, the calm option)1β shallow debugging2β deep debugging3-9β same as2, so like, whatever, same energy π
-F Nβ fix non-printing characters, choose your fighter:0β replace with#, postERROR(default!)1β replace with#silently π€«2β pass through silently3β replace with#, postFATALπ
-Gβ generate object loader.cand.hfiles π₯-I strβ put"#include str"in the generated.cfile-J typeβ register typetypewith the object manager π-K strβ in the generated.c, force the name of the#included asn header tostr-L strβ label the registered type asstrπ·οΈ-M filename,...β search the ASN.1 modules infilename,...for external references-N Nβ UTF8 input conversion, the whole menu:0β convert silently (default)1β convert, postWARNINGthe first time2β convert, postWARNINGeach time3β do not convert π
-P strβ XML module prefix forDOCTYPE-Qβ use the quoted syntax form for generated include files π-S filenameβ send debugging output tofilenameinstead ofstderr-T filenameβ dump the ASN.1 tree tofilenameπ³-U Nβ UTF8 output conversion, same lil menu as input:0β convert silently (default)1β convert, postWARNINGthe first time2β convert, postWARNINGeach time3β do not convert π
-Vβ forceCHOICEobjects to use custom structures rather thanValNodePtrs, for compatibility with some old hand-coded object loaders. it's giving legacy support, we respect it π«‘-X filenameβ write the XML DTD tofilename. iffilenameis"m", print each module to a separate file. cute, organized, obsessed. β¨-Zβ bit twiddle for optional zero value base slots-b Nβ useN-byte buffers (default =1024; anything between512and10000is legal) π-d filenameβ read binary values fromfilename(requires-t, bestie, don't forget it)-e filenameβ write binary values tofilename-f filenameβ write the ASN.1 module tofilename-l filenameβ write the ASN.1 loader tofilename-m filenameβ read the ASN.1 module fromfilename. the required one. the star of the show. π-o filenameβ write the header tofilename-p filenameβ write print values tofilename-t strβ expect binary values to have typestr-v filenameβ read print values fromfilename-w Nβ limit values in#defines toNbits (default =31; anything between31and128is legal) π-x filenameβ write XML data tofilename
π AUTHOR π
The National Center for Biotechnology Information. icons, honestly. π«Ά
okay that's the whole page, bestie β courtesy of NCBI, dated 2016-09-01, and yeah it's still serving. go read, validate, and display those ASN.1 modules. slay. πβ¨ππ¦
π¦ 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