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 πβ¨
π¦ 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