COLLAPSESEQ.PY(1)
β¨ NAME β¨
CollapseSeq.py π is the duplicate-sequence remover for FASTA/FASTQ files, and it removes duplicate sequences from them. π§Ήβ¨
π DESCRIPTION π
Okay so here's the synopsis, bestie:
usage: CollapseSeq.py [--version] [-h] -s SEQ_FILES [SEQ_FILES ...]
[-o OUT_FILES [OUT_FILES ...]] [--outdir OUT_DIR]
[--outname OUT_NAME] [--log LOG_FILE] [--failed] [--fasta]
[--delim DELIMITER DELIMITER DELIMITER] [-n MAX_MISSING] [--uf
UNIQ_FIELDS [UNIQ_FIELDS ...]] [--cf COPY_FIELDS [COPY_FIELDS
...]] [--act {min,max,sum,set} [{min,max,sum,set} ...]]
[--inner] [--keepmiss] [--maxf MAX_FIELD | --minf MIN_FIELD]
It's giving duplicate removal realness: it removes duplicate sequences from FASTA/FASTQ files. π¦
πΈ help:
--versionβ shows the program's version number and then exits. β¨-h,--helpβ shows the help message and exits. π
π standard arguments:
-s SEQ_FILES [SEQ_FILES ...]β the list of FASTA/FASTQ files holding the sequences you want processed. (default:None) π-o OUT_FILES [OUT_FILES ...]β explicit output file name(s). Heads up, this one cannot be used with--failed,--outdir, or--outname. If you don't set it, the output filename gets based on your input filename(s). (default:None) π§--outdir OUT_DIRβ changes the output directory to the location you give it. If you don't specify one, the input file's directory gets used. (default:None) π--outname OUT_NAMEβ changes the prefix of the successfully processed output file to whatever string you pick. You can't use this with multiple input files. (default:None) π--log LOG_FILEβ writes verbose logging to a file. You can't use this with multiple input files. (default:None) π--failedβ makes files holding the records that fail processing. (default:False) π--fastaβ forces the output to be FASTA instead of FASTQ. (default:None) πΈ--delim DELIMITER DELIMITER DELIMITERβ a list of the three delimiters, in order: the ones that separate annotation blocks, the ones that separate field names from values, and the ones that separate values within a field. (default:('|', '=', ',')) π«Ά
π collapse arguments:
-n MAX_MISSINGβ the max number of missing nucleotides a sequence can have and still be considered for collapsing. If it has too many missing nucleotides, it's labelled undetermined. (default:0) π--uf UNIQ_FIELDS [UNIQ_FIELDS ...]β picks a set of annotation fields that must match for sequences to count as duplicates. π―--cf COPY_FIELDS [COPY_FIELDS ...]β picks a set of annotation fields to copy into the unique sequence output. π--act {min,max,sum,set} [{min,max,sum,set} ...]β a list of actions, one for each copy field, that decides how each annotation gets combined into one value."min","max", and"sum"do the matching math on numeric annotations."set"squishes the annotations into a comma-delimited list of unique values. (default:None) π--innerβ if you set this, consecutive missing characters at either end of the sequence get excluded. (default:False) π¦--keepmissβ if you set this, sequences with more missing characters than the-nthreshold still get written to the unique sequence output file, but with aDUPCOUNT=1annotation. If you don't set it, those sequences go into a separate file instead. (default:False) π₯--maxf MAX_FIELDβ picks the field whose maximum value decides which sequence gets kept. This is mutually exclusive with--minf. (default:None) β--minf MIN_FIELDβ picks the field whose minimum value decides which sequence gets kept. This is mutually exclusive with--minf. (default:None) β
π§ output files:
collapse-uniqueβ the unique sequences! It holds one representative from each set of duplicates. The one that gets kept depends on the criteria you defined. πcollapse-duplicateβ the raw reads that are duplicates of the sequences kept in thecollapse-uniquefile. πΈcollapse-undeterminedβ the raw reads that got excluded from consideration because they had too many N characters in the sequence. π
π output annotation fields:
DUPCOUNTβ the total number of sequences in the set of duplicates for each retained unique sequence. Basically, the copy number of each unique sequence in the data file. π<user defined>β the annotation fields you specified with the--cfparameter. π
π«Ά AUTHOR π«Ά
This manpage was written by Andreas Tille for the Debian distribution, and it can be used for any other usage of the program. π
Bye bestie! π¦ CollapseSeq.py 0.6.0, May 2020 π
β¨
π¦ where this page comes from
- debian bookworm: presto 0.7.1-1 Β· AGPL-3.0-only
- debian trixie: presto 0.7.2-2 Β· AGPL-3.0-only
- ubuntu jammy: presto 0.7.0-1 Β· AGPL-3.0-only
- ubuntu noble: presto 0.7.2-1 Β· AGPL-3.0-only
- ubuntu questing: presto 0.7.2-2
- ubuntu resolute: presto 0.7.6-1 Β· AGPL-3.0-only
- ubuntu stonking: presto 0.7.6-1 Β· AGPL-3.0-only
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms