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

Update the TOC (table of content) of MS Word .docx documents with Python

P and q values in RNA Seq