This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to randomly subset a specific number of sequences from a large fastq file?

Hi,

So I am doing some RNA seq and I have a number of large library preps for the different conditions and replicates. In some samples there a huge differences in library size and I was hoping to just do a preliminary analysis where I randomly subset x amount of reads from the parent fastq, but I want to do it multiple times from the sample fastq to generate a more representative sample. I need the sampling to therefor be random and different for each subset

Is this possible?

Thanks in advance for any help

rna-seq

Also seqkit sample by specifying --number or --proportion.

1 answer

Log in to answer this question.