in reply to Re: concatenate/stitch multiple GZip fastq files and output combined gzip file
in thread concatenate/stitch multiple GZip fastq files and output combined gzip file

Or if you have a truly absurd number of input files,

xargs gunzip < filelist | gzip > combined.gz
  • Comment on Re^2: concatenate/stitch multiple GZip fastq files and output combined gzip file
  • Download Code

Replies are listed 'Best First'.
Re^3: concatenate/stitch multiple GZip fastq files and output combined gzip file
by Anonymous Monk on Dec 02, 2015 at 17:59 UTC

    Or, you could just cat the compressed files together. Says gunzip

    Multiple compressed files can be concatenated. In this case, gunzip will extract all members at once.
    ... and conversely, for gzip -c
    If there are several input files, the output consists of a sequence of independently compressed members. To obtain better compression, concatenate all input files before compressing them.