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.
  • -A filename β€” Accession list file.
  • -B str β€” Branch, per the flags in str:
    • c β€” Has coding regions
    • d β€” No coding regions
    • p β€” Passes validation
    • q β€” Validator errors or rejects
    • r β€” Only pop/phy/mut/eco/WGS sets
    • s β€” Exclude pop/phy/mut/eco/WGS sets
    • t β€” Only nuc-prot sets
    • u β€” Exclude nuc-prot sets
    • v β€” Only segmented sequences
    • w β€” Exclude segmented sequences
    • x β€” Only segmented proteins
    • y β€” Exclude segmented proteins
  • -C str β€” Sequence operations, per the flags in str:
    • c β€” Compress
    • d β€” Decompress
    • l β€” Recalculated segmented sequence length
    • v β€” Virtual gaps inside segmented sequence
    • s β€” Convert segmented set to delta sequence
    • t β€” Non-NucProt segmented set to delta sequence
    • u β€” Improved non-NucProt segmented set to delta sequence
    • g β€” Raw to delta by assembly gap
    • m β€” Merge assembly gap features
  • -D str β€” Clean up descriptors, per the flags in str:
    • t β€” Remove Title
    • c β€” Remove Comment
    • n β€” Remove Nuc-Prot Set title
    • e β€” Remove Pop/Phy/Mut/Eco Set title
    • m β€” Remove mRNA title
    • p β€” Remove Protein title
    • a β€” Title to name
    • b β€” AutoDef title or name
    • x β€” Prefix title with organism name
  • -F str β€” Clean up features, per the flags in str:
    • u β€” Remove User-objects
    • d β€” Remove db_xrefs
    • e β€” Remove /evidence and /inference
    • g β€” Fuse multi-interval genes
    • i β€” Fuse adjacent-interval imported features
    • r β€” Remove redundant gene xrefs
    • f β€” Fuse duplicate features
    • s β€” Package features on referenced Bioseq
    • k β€” Package coding-region or parts features
    • z β€” Delete or update EC numbers
    • b β€” Set Best coding-region reading frame
    • x β€” Retranslate coding regions
    • a β€” Adjust for missing stop codon
  • -K str β€” Perform a general cleanup, per the flags in str:
    • b β€” BasicSeqEntryCleanup
    • p β€” C++ BasicCleanup (via an external utility)
    • v β€” AdvancedSeqEntryCleanup
    • s β€” SeriousSeqEntryCleanup
    • x β€” ExtendedSeqEntryCleanup
    • g β€” GpipeSeqEntryCleanup
    • n β€” Normalize descriptor order
    • u β€” Remove NcbiCleanup User Objects
    • c β€” Synchronize genetic Codes
    • f β€” CDS partial from translation
    • e β€” Impose CDS partials
    • d β€” Resynchronize CDS partials
    • m β€” Resynchronize mRNA partials
    • t β€” Resynchronize Peptide partials
    • a β€” Adjust consensus splice
    • i β€” Promote to "worst" Seq-ID
    • r β€” Reassign local IDs
    • l β€” Remove locus
  • -L filename β€” Log file.
  • -M filename β€” Macro file.
  • -N str β€” Clean up links, per the flags in str:
    • o β€” Link CDS mRNA by Overlap
    • p β€” Link CDS mRNA by Product
    • l β€” Link CDS mRNA by Label and Location
    • r β€” Reassign feature IDs
    • m β€” Merge colliding feature IDs
    • f β€” Fix missing reciprocal feature IDs
    • c β€” Clear feature IDs
  • -O str β€” Missing prot-ref name.
  • -P str β€” Publication options:
    • a β€” Remove All publications
    • s β€” Remove Serial number
    • f β€” Remove Figure, numbering, and name
    • r β€” Remove Remark
    • u β€” Update PMID-only publication
    • j β€” Lookup ISO Journal title abbreviation
    • m β€” Merge identical publication features
    • # β€” Replace unpublished with PMID
  • -Q str β€” Report:
    • c β€” Record count
    • r β€” ASN.1 BSEC report
    • s β€” ASN.1 SSEC report
    • n β€” NORM vs. SSEC report
    • e β€” PopPhyMutEco AutoDef report
    • o β€” Overlap report
    • l β€” Latitude-longitude country diff
    • d β€” Log SSEC differences
    • g β€” GenBank SSEC diff
    • f β€” asn2gb/asn2flat diff
    • h β€” Seg-to-delta GenBank diff
    • v β€” Validator SSEC diff
    • m β€” Modernize Gene/RNA/PCR
    • u β€” Unpublished Pub lookup
    • p β€” Published Pub lookup
    • j β€” Unindexed Journal report
    • t β€” tRNA anticodon report
    • w β€” Component offset report
    • x β€” Custom scan
  • -R β€” Remote fetching from ID (NCBI sequence databases).
  • -S str β€” Selective difference filter (capital letters skip):
    • s β€” SSEC
    • b β€” BSEC
    • A β€” Author
    • p β€” Publication
    • l β€” Location
    • r β€” RNA
    • q β€” Qualifier sort order
    • g β€” Genbank block
    • k β€” Package CdRegion or parts features
    • m β€” Move publication
    • o β€” Leave duplicate Bioseq publication
    • d β€” Automatic definition line
    • e β€” Pop/Phy/Mut/Eco Set definition line
  • -T β€” Taxonomy Lookup.
  • -U str β€” Modernize, per the flags in str:
    • g β€” Genes
    • r β€” RNA
    • p β€” PCR Primers
  • -V str β€” Remove features by validator severity:
    • r β€” Reject
    • e β€” Error
    • w β€” Warning
    • i β€” Info
  • -X str β€” Miscellaneous options, per str:
    • d β€” Automatic definition line
    • s β€” Automatic definition line with Source qualifiers
    • e β€” Pop/Phy/Mut/Eco Set definition line
    • n β€” Instantiate NC title
    • m β€” Instantiate NM titles
    • x β€” Special XM titles
    • p β€” Instantiate Protein titles
    • g β€” GPipe instantiate titles
    • c β€” Create mRNAs for coding sequences
    • f β€” Fix reciprocal protein_id/transcript_id
    • v β€” Revert preRNA or ncRNA transcript_id
    • t β€” Parse anticodon from Sequence
    • b β€” Batch cleanup of multireader output
    • z β€” Wrap SegSet with NucProt set
    • w β€” GFF/WGS genome cleanup
  • -Z str β€” Remove indicated User-object.
  • -a str β€” ASN.1 type:
    • a β€” Any (default)
    • e β€” Seq-entry
    • b β€” Bioseq
    • s β€” Bioseq-set
    • m β€” Seq-submit
    • t β€” Batch Bioseq-set
    • u β€” Batch Seq-submit
  • -b β€” Input ASN.1 is Binary.
  • -c β€” Input ASN.1 is Compressed.
  • -d str β€” Source database:
    • a β€” Any (default)
    • g β€” GenBank
    • e β€” EMBL
    • d β€” DDBJ
    • b β€” EMBL or DDBJ
    • i β€” INSD
    • r β€” RefSeq
    • n β€” NCBI
    • x β€” Exclude EMBL/DDBJ
    • y β€” Exclude gbcon, gbest, gbgss, gbhtg, gbpat, gbsts
  • -f str β€” Substring filter.
  • -i filename β€” Single input file (defaults to stdin).
  • -j filename β€” First filename.
  • -k filename β€” Last filename.
  • -m str β€” Flatfile mode:
    • r β€” Release
    • e β€” Entrez
    • s β€” Sequin
    • d β€” Dump
  • -n path β€” asn2flat executable (default is /netopt/ncbi_tools/bin/asn2flat).
  • -o filename β€” Single output file (defaults to stdout).
  • -p path β€” Process all matching files in path.
  • -q path β€” ffdiff executable (default is /netopt/genbank/subtool/bin/ffdiff).
  • -r path β€” Path for results.
  • -v path β€” asnval executable (default is /netopt/ncbi_tools/bin/asnval).
  • -x ext β€” File selection suffix for use with -p (defaults to .ent).
🫢 quick reminder bestie: -i defaults to stdin, -o defaults to stdout, and -n, -q, and -v all 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