CLEANASN(1)
π CLEANASN(1) π
okay bestie, so this is cleanasn from the NCBI Tools User's Manual, and it is literally the little goblin that tidies up your NCBI ASN.1 objects. no cap. she's giving β¨janitorial excellenceβ¨ and honestly? obsessed.
πΈ NAME πΈ
cleanasn β clean up irregularities in NCBI ASN.1 objects
like. that's the whole job. she finds the weird little messes in your ASN.1 objects and she fixes them. iconic behavior.
π SYNOPSIS π
cleanasn [-] [-A filename] [-B str] [-C str] [-D str] [-F str] [-K str]
[-L filename] [-M filename] [-N str] [-O str] [-P str] [-Q str] [-R]
[-S str] [-T] [-U str] [-V str] [-X str] [-Z str] [-a str] [-b] [-c]
[-d str] [-f str] [-i filename] [-j filename] [-k filename] [-m str]
[-n path] [-o filename] [-p path] [-q path] [-r path] [-v path] [-x ext]
look at all those flags. she's highkey a whole alphabet. and every single one of them matters, so buckle up π«Ά
π¦ DESCRIPTION π¦
cleanasn is a utility program to clean up irregularities in NCBI ASN.1 objects.
that's it. that's the girl. she sees an irregularity, she cleans it. main character energy fr fr.
β¨ OPTIONS β¨
a summary of options is included below. yes, all of them. no, we are not skipping any. periodt π
-β Print usage message. that's it, bestie, just a lonely little dash and she tells you how to use her.-Afilename β Accession list file.-Bstr β Branch, per the flags in str:cβ Has coding regionsdβ No coding regionspβ Passes validationqβ Validator errors or rejectsrβ Only pop/phy/mut/eco/WGS setssβ Exclude pop/phy/mut/eco/WGS setstβ Only nuc-prot setsuβ Exclude nuc-prot setsvβ Only segmented sequenceswβ Exclude segmented sequencesxβ Only segmented proteinsyβ Exclude segmented proteins
-Cstr β Sequence operations, per the flags in str:cβ Compressdβ Decompresslβ Recalculated segmented sequence lengthvβ Virtual gaps inside segmented sequencesβ Convert segmented set to delta sequencetβ Non-NucProt segmented set to delta sequenceuβ Improved non-NucProt segmented set to delta sequencegβ Raw to delta by assembly gapmβ Merge assembly gap features
-Dstr β Clean up descriptors, per the flags in str:tβ Remove Titlecβ Remove Commentnβ Remove Nuc-Prot Set titleeβ Remove Pop/Phy/Mut/Eco Set titlemβ Remove mRNA titlepβ Remove Protein titleaβ Title to namebβ AutoDef title or namexβ Prefix title with organism name
-Fstr β Clean up features, per the flags in str:uβ Remove User-objectsdβ Remove db_xrefseβ Remove /evidence and /inferencegβ Fuse multi-interval genesiβ Fuse adjacent-interval imported featuresrβ Remove redundant gene xrefsfβ Fuse duplicate featuressβ Package features on referenced Bioseqkβ Package coding-region or parts featureszβ Delete or update EC numbersbβ Set Best coding-region reading framexβ Retranslate coding regionsaβ Adjust for missing stop codon
-Kstr β Perform a general cleanup, per the flags in str:bβ BasicSeqEntryCleanuppβ C++ BasicCleanup (via an external utility)vβ AdvancedSeqEntryCleanupsβ SeriousSeqEntryCleanupxβ ExtendedSeqEntryCleanupgβ GpipeSeqEntryCleanupnβ Normalize descriptor orderuβ Remove NcbiCleanup User Objectscβ Synchronize genetic Codesfβ CDS partial from translationeβ Impose CDS partialsdβ Resynchronize CDS partialsmβ Resynchronize mRNA partialstβ Resynchronize Peptide partialsaβ Adjust consensus spliceiβ Promote to "worst" Seq-IDrβ Reassign local IDslβ Remove locus
-Lfilename β Log file.-Mfilename β Macro file.-Nstr β Clean up links, per the flags in str:oβ Link CDS mRNA by Overlappβ Link CDS mRNA by Productlβ Link CDS mRNA by Label and Locationrβ Reassign feature IDsmβ Merge colliding feature IDsfβ Fix missing reciprocal feature IDscβ Clear feature IDs
-Ostr β Missing prot-ref name.-Pstr β Publication options:aβ Remove All publicationssβ Remove Serial numberfβ Remove Figure, numbering, and namerβ Remove Remarkuβ Update PMID-only publicationjβ Lookup ISO Journal title abbreviationmβ Merge identical publication features#β Replace unpublished with PMID
-Qstr β Report:cβ Record countrβ ASN.1 BSEC reportsβ ASN.1 SSEC reportnβ NORM vs. SSEC reporteβ PopPhyMutEco AutoDef reportoβ Overlap reportlβ Latitude-longitude country diffdβ Log SSEC differencesgβ GenBank SSEC difffβ asn2gb/asn2flat diffhβ Seg-to-delta GenBank diffvβ Validator SSEC diffmβ Modernize Gene/RNA/PCRuβ Unpublished Pub lookuppβ Published Pub lookupjβ Unindexed Journal reporttβ tRNA anticodon reportwβ Component offset reportxβ Custom scan
-Rβ Remote fetching from ID (NCBI sequence databases).-Sstr β Selective difference filter (capital letters skip):sβ SSECbβ BSECAβ Authorpβ Publicationlβ Locationrβ RNAqβ Qualifier sort ordergβ Genbank blockkβ Package CdRegion or parts featuresmβ Move publicationoβ Leave duplicate Bioseq publicationdβ Automatic definition lineeβ Pop/Phy/Mut/Eco Set definition line
-Tβ Taxonomy Lookup.-Ustr β Modernize, per the flags in str:gβ Genesrβ RNApβ PCR Primers
-Vstr β Remove features by validator severity:rβ Rejecteβ Errorwβ Warningiβ Info
-Xstr β Miscellaneous options, per str:dβ Automatic definition linesβ Automatic definition line with Source qualifierseβ Pop/Phy/Mut/Eco Set definition linenβ Instantiate NC titlemβ Instantiate NM titlesxβ Special XM titlespβ Instantiate Protein titlesgβ GPipe instantiate titlescβ Create mRNAs for coding sequencesfβ Fix reciprocal protein_id/transcript_idvβ Revert preRNA or ncRNA transcript_idtβ Parse anticodon from Sequencebβ Batch cleanup of multireader outputzβ Wrap SegSet with NucProt setwβ GFF/WGS genome cleanup
-Zstr β Remove indicated User-object.-astr β ASN.1 type:aβ Any (default)eβ Seq-entrybβ Bioseqsβ Bioseq-setmβ Seq-submittβ Batch Bioseq-setuβ Batch Seq-submit
-bβ Input ASN.1 is Binary.-cβ Input ASN.1 is Compressed.-dstr β Source database:aβ Any (default)gβ GenBankeβ EMBLdβ DDBJbβ EMBL or DDBJiβ INSDrβ RefSeqnβ NCBIxβ Exclude EMBL/DDBJyβ Exclude gbcon, gbest, gbgss, gbhtg, gbpat, gbsts
-fstr β Substring filter.-ifilename β Single input file (defaults to stdin).-jfilename β First filename.-kfilename β Last filename.-mstr β Flatfile mode:rβ Releaseeβ Entrezsβ Sequindβ Dump
-npath β asn2flat executable (default is/netopt/ncbi_tools/bin/asn2flat).-ofilename β Single output file (defaults to stdout).-ppath β Process all matching files in path.-qpath β ffdiff executable (default is/netopt/genbank/subtool/bin/ffdiff).-rpath β Path for results.-vpath β asnval executable (default is/netopt/ncbi_tools/bin/asnval).-xext β File selection suffix for use with-p(defaults to.ent).
π«Ά quick reminder bestie:-idefaults to stdin,-odefaults to stdout, and-n,-q, and-vall have hardcoded default paths up there, so don't come for me when your tool lives somewhere else. check your paths. π
π AUTHOR π
The National Center for Biotechnology Information.
(they did that. they made her. respect. π)
π SEE ALSO π
asndisc(1), asnval(1), sequin(1).
go read those too, bestie, they're all in the same friend group β¨
and that's the whole page, no notes, no skips, every single flag accounted for π
this was the NCBI Tools User's Manual, dated 2017-01-09, and cleanasn came to you from the lovely people at NCBI. mwah. bye bestie! π¦
π¦ 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