Merge two .fastq files from two different lane
Hi Every One,
How to Merge two .fastq files from two different lane using cat command with bash for loop. My file name looks like this
> RFNB-2939_S193_L001_R1_001.fastq, RFNB-2939_S193_L002_R1_001.fastq,
> RFNB-2951_S194_L001_R1_001.fastq, RFNB-2951_S194_L002_R1_001.fastq.
Thanks in advance
• 1,343 views
•
link
2 answers
from two different lane using cat command with bash for loop
Answers here: Concatenating fastq.gz files across lanes
• 0 views
•
link
that is what cat does, concatenates
Concatenate a,b into c
cat a b > c
in your case:
cat RFNB-2939_S193_L001_R1_001.fastq RFNB-2939_S193_L002_R1_001.fastq > RFNB-2939_S193.fq
cat RFNB-2951_S194_L001_R1_001.fastq RFNB-2951_S194_L002_R1_001.fastq > RFNB-2951_S194.fq
• 0 views
•
link
Log in to answer this question.
yes, and the issue/problem being ?