Each line of the fastq bioinformatics format comprises 4 lines chunks (id, dna sequence, "+", quality score).
Downsampling a fastq is going to select n number of chunks or select x% of chunks. But I don't handle the downsampling: I just pass parameters to a tool called
seqtk
to handle that.