FASTAQ-FILTER(1)

πŸ“¦
version 3.17.0 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ¦‹ 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 is 0, so like, everything's invited to the party at first πŸŽ‰
  • --max_length INT β€” the maximum length of sequence to keep. default is inf, 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