Good day everyone,
I have this file set:
1_S1_R1.fastq.gz
1_S1_R2.fastq.gz
2_S2_R1.fastq.gz
2_S2_R2.fastq.gz
3_S3_R1.fastq.gz
3_S3_R2.fastq.gz
I would want create a ciclo for with the software SeqPrep in which each couple of reads file will merge together; for example 1_S1_R1.fastq.gz
+ 1_S1_R2.fastq.gz
= 1_S1_merged.fastq.gz
and so on for all the files in the directory. Is this possible? Or am I just imagine?
Best regards
Lorenzo
Pure fantasy of a bioinformatic world that does not exist. You want to basically merge paired-end data into single-end, this is probably a crime in bioinformatics.
@OP, do you mean an interleaved file, so for each read you have alternative R1/R2/R1/R2... in the same file, or do you simply want to take entire R1 file and concatenate R2 to it (the latter would be, as said, questionable)?