FASTQ-MCF(1)
β¨ NAME β¨
fastq-mcf β the ea-utils girlie that detects levels of adapter presence, computes likelihoods and locations of the adapters π
πΈ SYNOPSIS πΈ
fastq-mcf [options] <adapters.fa> <reads.fq> [mates1.fq ...]
π DESCRIPTION π
okay bestie, first things first: Version: 1.04.676 π
What she does is detect levels of adapter presence and compute likelihoods and locations (start, end) of the adapters. Then she removes the adapter sequences from the fastq file(s). That's the whole gig. She ate and left no crumbs π½οΈ
Stats go to stderr, unless -o is specified. (iykyk β keep that in mind.)
Specify -0 to turn off all default settings. Like, all of them. Nuclear option, but make it cute π
If you specify multiple 'paired-end' inputs, then a -o option is required for each. IE:
-o read1.clip.q -o read2.clip.fq
no cap, she will not guess for you π
π OPTIONS π
-hβ this help. your girl is nothing if not helpful π«Ά-oFIL β output file (and stats go to stdout when you do this)-sN.N β log scale for adapter minimum-length-match (2.2)-tN β % occurance threshold before adapter clipping (0.25)-mN β minimum clip length, overrides the scaled auto (1)-pN β maximum adapter difference percentage (10)-lN β minimum remaining sequence length (19)-LN β maximum remaining sequence length (none)-DN β remove duplicate reads: Read_1 has an identical N bases (0)-kN β sKew percentage-less-than causing cycle removal (2)-xN β 'N' (bad read) percentage causing cycle removal (20)-qN β quality threshold causing base removal (10)-wN β window-size for quality trimming (1)-Hβ remove >95% homopolymer reads (no)-Xβ remove low complexity reads (no)-0β set all default parameters to zero / do nothing-U|uβ force disable/enable Illumina PF filtering (auto)-PN β Phred-scale (auto)-Rβ don't remove N's from the fronts/ends of reads-nβ don't clip, just output what would be done (a little preview moment π)-CN β number of reads to use for subsampling (300k)-Sβ save all discarded reads to.skipfiles-dβ output lots of random debugging stuff
π¦ Quality adjustment options π¦
--cycle-adjustCYC,AMT β adjust cycle CYC (negative = offset from end) by amount AMT--phred-adjustSCORE,AMT β adjust score SCORE by amount AMT--phred-adjust-maxSCORE β adjust scores > SCORE to SCOTE
yes bestie, SCOTE is literally what the manpage says. we do not fix, we do not editorialize, we report π
π§ Filtering options* π§
--[mate-]qual-meanNUM β minimum mean quality score--[mate-]qual-gtNUM,THR β at least NUM quals > THR--[mate-]max-nsNUM β maxmium N-calls in a read (can be a %)--[mate-]min-lenNUM β minimum remaining length (same as-l)--homopolymer-pctPCT β homopolymer filter percent (95)--lowcomplex-pctPCT β complexity filter percent (95)
If the mate- prefix is used, then it applies to the second non-barcode read only. periodt π
Adapter files are 'fasta' formatted, bestie π§¬
Specify n/a to turn off adapter clipping, and just use filters.
Increasing the scale makes recognition-lengths longer β a scale of 100 will force full-length recognition of adapters. iconic β¨
Adapter sequences with _5p in their label will match 'end's, and sequences with _3p in their label will match 'start's, otherwise the 'end' is auto-determined. She's smart like that π
π the skew situation π
Skew is when one cycle is poor, 'skewed' toward a particular base. If any nucleotide is less than the skew percentage, then the whole cycle is removed. Disable for methyl-seq, etc.
Set the skew (-k) or N-pct (-x) to 0 to turn it off. And lowkey, you should do that for miRNA, amplicon and other low-complexity situations! π¨
π duplicate read filtering π
Duplicate read filtering is appropriate for assembly tasks, and never when read length < expected coverage.
-D 50 will use 4.5GB RAM on 100m DNA reads β be careful. Like, genuinely. That is not a vibe check you want to fail π
Great for RNA assembly though π
* Quality filters are evaluated after clipping/trimming. Important order of operations, bestie π
Homopolymer filtering is a subset of low-complexity, but will not be separately tracked unless both are turned on. noted π
and that's the whole page, bestie π«Ά go forth and clip those adapters, you absolute main character π
this was fastq-mcf 1.1.2, from July 2015 β slay forever, periodt βπΈ
π¦ where this page comes from
- debian bookworm: ea-utils 1.1.2+dfsg-9+b2 Β· MIT
- debian trixie: ea-utils 1.1.2+dfsg-9+b3 Β· MIT
- ubuntu jammy: ea-utils 1.1.2+dfsg-9build1 Β· MIT
- ubuntu noble: ea-utils 1.1.2+dfsg-9build1 Β· MIT
- ubuntu questing: ea-utils 1.1.2+dfsg-9build2
- ubuntu resolute: ea-utils 1.1.2+dfsg-9build3 Β· MIT
- ubuntu stonking: ea-utils 1.1.2+dfsg-10 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms