FASTAQ-SEQUENCE_TRIM(1)

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

✨ FASTAQ-SEQUENCE_TRIM ✨

okay bestie, welcome to fastaq_sequence_trim, from section 1 of the User Commands manual πŸ’…


πŸŽ€ NAME πŸŽ€

fastaq_sequence_trim β€” trim exact matches to a given string off the start of every sequence βœ‚οΈβœ¨


πŸ“– DESCRIPTION πŸ“–

usage, babes:

fastaq_sequence_trim [options] <infile_1> <infile_2> <outfile_1> <outfile_2> <trim_seqs>

so the vibe is: it trims sequences off the start of all sequences in a pair of sequence files, whenever there is a perfect match 🎯 no match, no trim, periodt.

and here's the important part β€” it only keeps a read pair if both reads of the pair are at least a minimum length after any trimming πŸ‘‘ so if one read gets chopped too short, that whole pair is out. no half-pairs up in here πŸ™ˆ

πŸ¦‹ positional arguments πŸ¦‹

  • infile_1 β€” the name of the forward fasta/q file you wanna trim πŸ’–
  • infile_2 β€” the name of the reverse fasta/q file you wanna trim πŸ’–
  • outfile_1 β€” the name of the output forward fasta/q file 🌸
  • outfile_2 β€” the name of the output reverse fasta/q file 🌸
  • trim_seqs β€” the name of a file of sequences to search for at the start of each input sequence πŸ” like, these are the things it's hunting for at the beginning of every read, iykyk

βš™οΈ options βš™οΈ

  • -h, --help β€” show this help message and exit 🫢 classic, iconic, always there for u
  • --min_length INT β€” minimum length of output sequences, default is [50] πŸ“
  • --revcomp β€” trim the end of each sequence if it matches the reverse complement 🧬 this option is intended for PCR primer trimming, so if that's ur era, this is ur flag πŸ”₯
bestie reminder: with --revcomp it's the end getting trimmed, not the start β€” two ends, two jobs, don't mix them up πŸ’€

that's the whole thing, no cap πŸ’œ go trim something, slay.

fastaq_sequence_trim 3.17.0 Β· January 2026 β€” mwah, made with love, see u next manpage πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from