Entering edit mode
5.1 years ago
Bioinfonext
▴
460
Hi,
I do have two groups of fastq files, I need to merge R1 reads of one file whose has same name at the beginning with the other R1 files reads.
Like Soil-13 is similar in two RI reads files,
I do have multiple pair-end read files like this that I need to merge into one. similarly, I need to do for R2 reads.
at the end I want to I have two soil-13 fastq files, one for R1 reads and other for R2 read. Like this, I need to do with multiple files.
Soil-13_S4_L001_R1_001.fastq
Soil-13_S4_L001_R2_001.fastq
Soil-15_S5_L001_R1_001.fastq
Soil-15_S5_L001_R2_001.fastq
Soil-13_S62_L001_R1_001.fastq
Soil-13_S62_L001_R2_001.fastq
Soil-15_S72_L001_R1_001.fastq
Soil-15_S72_L001_R2_001.fastq
Kind Regards
Note that the cut part of the command only works properly if none of your sample names has "_" in it.
Thanks, In all files, there is dash (-) . No underscore.