Entering edit mode
2.1 years ago
Eliveri
▴
350
Is is possible to concatenate fastq files which are compressed to different degrees (compression using different methods)? Or concatenate a mix of fastq and fastq.gz files?
The following command seems to work (but I cannot tell if the final files are properly compressed or combined)
cat file1.fastq.gz file2.fastq > combined.fastq.gz
Even if that works you probably don't want to play with fire. Either uncompress the first file and then cat/bgzip or bgzip the second file and then cat. Tools may fail silently if they have trouble with files created the way you are showing above.