RANDOMFQ(1)

πŸŽ€ NAME πŸŽ€

randomFQ β€” it's from ea-utils bestie, and it hands you back random entries from your input fastq ✨


πŸ’– DESCRIPTION πŸ’–

okay so real talk, the usage message is literally baked into the description, no cap. Here's exactly what it spits at you:

Unknown option: h usage: ./randomFQ (-c <count> | -p <pct>) [-fasta]
[-out <prefix>] [-seed <int>] <input-fastq> [<input-2> [<index-3>] ]

What it does: returns <count> number of random entries from the input fastq. That's the whole vibe. πŸ¦‹

Output is fastq, unless you specify -fasta.

If the -out parameter ends in .gz, the result is gzipped in-place. Yes queen, compression on the fly πŸ’…

-p returns a % of total reads, -c returns a fixed count. Pick your fighter, you can't have both.


🌸 SINGLE END 🌸

Outputs to standard output, unless -out <file> is specified. Simple. Iconic. No notes.


πŸ¦‹ PAIRED END πŸ¦‹

Pass 2 (or 3) files as input, and -out is required β€” not optional, not negotiable, required fr fr 😀

If the paired-end output contains a % sign, it gets replaced with the 1 & 2 for paired-end. Like:

-o output_%.fastq.gz

Otherwise it's just output_1 and output_2. That's the whole system 🫢

⚠️ *** If one file is an indexed read, it has to be the 3rd file (for now). That "(for now)" is doing a lot of heavy lifting but okay bestie, we move.

and that's the page!! this was randomFQ version 1.1.2, dated July 2015 β€” shoutout to the ea-utils girlies for this one, mwah πŸ’œβœ¨