How To Merge Two Fastq.Gz Files?

 With gzip files, you can simply concatenate the files using `cat`:

cat sample1_R1.gz sample2_R1.gz file3.gz > sample_merge_R1.gz
cat sample1_R2.gz sample2_R2.gz file3.gz > sample_merge_R2.gz
You can also do this:
zcat sample1_R1.gz sample2_R1.gz file3.gz |gzip - > sample_merge_R1.gz
zcat sample1_R2.gz sample2_R2.gz file3.gz |gzip - > sample_merge_R2.gz



Comments

Popular posts from this blog

gspread error:gspread.exceptions.SpreadsheetNotFound

Miniconda installation problem: concurrent.futures.process.BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or pending.

转载:彻底搞清楚promoter, exon, intron, and UTR