FASTAQ-FILTER(1)
π¦ FASTAQ-FILTER(1) π¦
okay so bestie, welcome to section 1 (User Commands) and today's main character is fastaq_filter β bestie fr fr, she's the one who picks a lil subset of your sequences out of a whole file. let's GO π
β¨ NAME β¨
fastaq_filter β filter sequences so you get a cute lil subset of them π
πΈ DESCRIPTION πΈ
okay so here's the vibe, no cap:
usage: fastaq_filter [options] <infile> <outfile>
she filters a sequence file by sequence length and/or by name matching a regular expression. that's it, that's the whole job, and she ate π₯
π OPTIONS π
π positional arguments π
infileβ the name of the input file that's getting filtered. this is your raw material bestie πoutfileβ the name of the output file. where the survivors go β¨
π options π
-h,--helpβ shows this help message and dips, iconic behaviour honestly π--min_length INTβ the minimum length of sequence to keep. default is0, so like, everything's invited to the party at first π--max_length INTβ the maximum length of sequence to keep. default isinf, aka infinity, aka no ceiling, sky's the limit bestie π¦--regex REGEXβ if you give her this, only the reads with a name matching the regular expression get kept. it's giving bouncer at the door energy π--ids_file FILENAMEβ if you give her this, only the reads whose ID is in the given file will be used. one ID per line of the file, so don't be doing anything cute with the formatting, okay? one. per. line. π-v,--invertβ flips it π only keeps the sequences that do NOT match the filters. the rejects become the chosen ones, main character energy fr
π«Ά Mate file for read pairs options π«Ά
--mate_in FILENAMEβ the name of the mates input file. β οΈ heads up: if you use this, you must also provide--mate_out, they're a package deal, they don't do long distance π€--mate_out FILENAMEβ the name of the mates output file. the matching half of the deal above π--both_mates_passβ here's the tea: by default, if either mate passes the filter, then both reads get output. flip this flag on and you require that both reads of a pair pass the filter before either one goes through. strict queen behaviour π
lowkey important, bestie: the default mate behaviour is either one passes β both get written out. only reach for --both_mates_pass if you genuinely want the stricter "both or nothing" rule. no cap π§
and that's the whole page, you're basically a bioinformatics girlie now πΈβ¨
this was the fastaq_filter manual, version 3.17.0, from January 2026 β mwah, go filter something cute πππ
π¦ where this page comes from
- ubuntu resolute: fastaq 3.17.0-9build1 Β· GPL-3.0-only
- ubuntu stonking: fastaq 3.17.0-9build1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms