if i merge the fastq i can do a cat file 1 2 3 4> newfile ? but if I merge the fastq to make a single R1 file and a single R2 file per individual is that information from which read is the mate of the other will be kept?
concatenate the paired files in the very same order
cat fastq1.R1.fastq fastq2.R1.fastq fastq3.R1.fastq fastq4.R1.fastq > merged.R1.fastq
cat fastq1.R2.fastq fastq2.R2.fastq fastq3.R2.fastq fastq4.R2.fastq > merged.R2.fastq
see also: A: How To Merge Two Fastq.Gz Files?
because I would need this information for analyzes of structural variants.
in WES/WGS, most of the time, fastq files don't need to be concatenated. You map each pair of fastq in parallel and you later merge the bam files.