Basically I have 28 files of r1 and r2 data which I want merged. I am planning on using ea-utils fastq-join but am wondering if anyone knows of a way to make a program go through each pair of files joining them and then moving onto the next automatically?
I have heard of for loops and was thinking of trying to write one but know very little so is it possible to get something like this working:
for Library$_read1 and Library$_read2
do fastq-join -p 1 -o Library$_merged
done
That way it could work its way through all the pairs of files using $ so it goes Library1, Library2 etc
Any help would be greatly appreciated.
Thanks,
Tom
I have heard of for loops and was thinking of trying to write one but know very little so is it possible to get something like this working:
for Library$_read1 and Library$_read2
do fastq-join -p 1 -o Library$_merged
done
That way it could work its way through all the pairs of files using $ so it goes Library1, Library2 etc
Any help would be greatly appreciated.
Thanks,
Tom
Comment