I know there have been many questions regarding merging fastq files. But I am not getting relevant answers in my situation.
I have 4 paired-ended fastq files.
s_6_1.fastq s_6_2.fastq
s_7_1.fastq s_7_2.fastq
Can I just cat the first two files and the last two files to make s_6.fastq and s_7.fastq? I would like to use these fastq files for mapping with BWA or Bowtie.
Hope to get some suggestions regarding this.
Thanks,
AShwin
ADD COMMENT
• link
updated 11.1 years ago by
KCC
★
4.1k
•
written 11.1 years ago by
bashwin.u
▴
40
5
Entering edit mode
Why do you want to do that? bwa and bowtie both supports pair-end input and there doesn't really seems like the fastq are required to be merged before alignment
Why do you want to do that? bwa and bowtie both supports pair-end input and there doesn't really seems like the fastq are required to be merged before alignment
yes, you can merge the _1.fastq files into one files and the _2.fastq files into another. just maintain the order (pairing) between them.