QUAL_TRIM.PY(1)
π qual_trim.py β the manual page, but make it slay π
okay so bestie, welcome to qual_trim.py(1) β yes that's the manual name, no we're not being formal about it. This is the User Commands era of the docs and honestly? iconic.
β¨ NAME β¨
qual_trim.py β Perform quality trimming for single-end reads. That's the whole vibe. It trims your reads based on quality. Periodt.
πΈ DESCRIPTION πΈ
lowkey the usage goes like this:
qual_trim.py [-h] [-b BASE] [-p PROB] [-q SCORE] [-l BP] [--illumina5]
[--solexa]
FASTQ
and fr fr, what it does is: Perform quality trimming for single-end reads. That's the mission statement, bestie, and it is giving main character energy.
π positional arguments: π
FASTQβ your input, and she's flexible π β this can bestdinor a compressed file, specifically{zip,gz,tar,bz}. so yes you can just pipe it in, or hand her a zipped-up lil treat. no cap.
π¦ optional arguments: π¦
-h,--helpβ show this help message and exit. the classic. the moment you're lost, she's there π«Ά-b BASEβ ASCII-encoded quality offset, like33or64for example (default:33). it's literally telling the program where your quality characters sit on the ASCII map, iykyk.-p PROBβ error probability cutoff (default:0.1). how much wrongness are we willing to tolerate before we start chopping? this number decides.-q SCOREβ quality score cutoff (default:'-p 0.1'). note that the default is literally written as'-p 0.1', so the default quality score cutoff is tied to that probability, not some standalone number. copying it exactly, no editing, that's the rule π-l BPβ minimum read length in bp (default:16). trim too aggressively and you get tiny sad reads, so this is your floor β anything shorter than this and it's not worth keeping around, bestie.--illumina5β Illumina 1.5+ encoding marked with'B'. it's giving old-school Illumina, theBis the tell π§--solexaβ Solexa encoding. another encoding option, another era of sequencing history, and she supports it.
heads up: the encodings matter, okay? pick the flag that matches your actual data or the quality numbers will be lying to you. β
π AUTHOR π
This manpage was written by Andreas Tille for the Debian distribution and can be used for any other usage of the program. shoutout Andreas, absolute legend, we love a documented tool π
and that's the whole thing, bestie β qual_trim.py version 1.1, dated March 2020, living her best Debian life. go trim some reads, you got this πβ¨π
π¦ where this page comes from
- debian bookworm: dnapi 1.1-3 Β· MIT
- debian trixie: dnapi 1.1-3 Β· MIT
- ubuntu jammy: dnapi 1.1-3 Β· MIT
- ubuntu noble: dnapi 1.1-3 Β· MIT
- ubuntu resolute: dnapi 1.1-3build1 Β· MIT
- ubuntu stonking: dnapi 1.1-3build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms