I have fastq files as follows:
Sample1-1_S13_R1_001.fastq
Sample1-2_S14_R1_001.fastq
Sample1-3_S15_R1_001.fastq
Sample1-4_S16_R1_001.fastq
Sample1-1_S13_R2_001.fastq
Sample1-2_S14_R2_001.fastq
Sample1-4_S16_R2_001.fastq
Sample1-3_S15_R2_001.fastq
I simply cat R1 and R2 but the tool I am using is giving me an error Some files in the fastq path are split by lane, while some are not. This is not supported. My question is is there another alternate to cat that to combine fastq files so that it can avoid this error or combine fatsq masking different lanes. Thanks
why are you 'catting' R1 and R2 ? Simply joining them might indeed result in an error, if you want to have them in a single file you should interleave them.
it seems to me those are just read1 and read2 from a paired-end sequencing.
Presumably OP is
cat
ing R1/R2 files in a lane specific manner. It sounds like the tool just does not like having a sample run on multiple lanes.could be indeed, though it does not show from the example ( if it were to be from different lanes files would be called _002 _003 and such )
likely not helping :) but I've done that dozens of times (= catting lanes together) never had any issue with it. Until we know which tool we're talking here we're just guessing I assume
What kind of error?
error Some files in the fastq path are split by lane, while some are not. This is not allowed
If the tool does not expect samples to run in different lanes then you may have to treat the lane specific replicates as independent inputs. Or edit/replace the lane numbers so there is just one in all fastq headers.
What tool are we looking at here?
which tools are you using ? what is the error exactly ? and can you post the command here ?