How to merge multiple paired fastq files using BBmerge?
1
0
Entering edit mode
2.8 years ago
Princy ▴ 60

Hello, I need to run Spades, i have WGS 230 paired end fastq files. First, I want to merge my R1.fastq and R2.fastq files into merge_R1.fastq and merge_R2.fastq . Pls, let me know how can I merge using bbmerge tool.

bbmerge.sh in1=<read1> in2=<read2> out=<merged reads> outu1=<unmerged1> outu2=<unmerged2>
Bbmerge WGS fastq • 1.6k views
ADD COMMENT
0
Entering edit mode
2.8 years ago
shelkmike ★ 1.4k

Probably, you misunderstand what read merging is. There are two different types of merging (when you overlap reads by their ends, or when you just combine two files with reads into one), and none of them result in "merge_R1.fastq" and "merge_R2.fastq" files. Also, Spades does not require reads to be merged, whatever you mean by merging.

Bbmerge overlaps reads by their ends. You can use a command like:

bbmerge.sh in1=reads_R1.fastq in2=reads_R1.fastq out=merged.fastq outu1=unmerged_R1.fastq outu2=unmerged_R2.fastq ihist=ihist.txt
ADD COMMENT
0
Entering edit mode

Bbmerge overlaps reads by their ends.

Only if they actually overlap. Like below

R1 --------------------------->
                       <------------------------- R2
ADD REPLY

Login before adding your answer.

Traffic: 1641 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6