I am trying to extract a random subset of paired end fastq reads from a huge 5Gb file. I tried using seqtk and zcat. However, it is taking long time.
The command I used:
zcat huge_file.fastq.gz | sort -R | head -1000 > reads.sample_random.fq
Could someone please help me? Thank you in advance.