Thanks, genomax. I did try bbduk.sh but it did not give me what I expected.
I ran it to only look for probes on the 5' end with exact matches in the first 31 bp as follows:
bbduk.sh in1=L001_R1_001.fastq.gz in2=L001_R2_001.fastq.gz out1=bbmap_R1.fastq.gz out2=bbmap_R2.fastq.gz ref=RC_DLSO_and_ULSO.fa rcomp=f restrictleft=31 hdist=0 minkmerfraction=1.0 tbo
Added 8630 kmers; time: 0.225 seconds.
Memory: max=1457m, free=1396m, used=61m
Input is being processed as paired
Started output streams: 0.121 seconds.
Processing time: 14.583 seconds.
Input: 1089512 reads 164516312 bases.
Contaminants: 0 reads (0.00%) 0 bases (0.00%)
Trimmed by overlap: 51452 reads (4.72%) 2452840 bases (1.49%)
Total Removed: 0 reads (0.00%) 2452840 bases (1.49%)
Result: 1089512 reads (100.00%) 162063472 bases (98.51%)
As you can see, it did not remove any bases due to matches with the probes (although I checked that they are there) but only due to overlap. Moreover, my ref file (RC_DLSO_and_ULSO.fa) contains ~6,500 probes but the info above says that it added 8630 k-mers. So, I think that my ref file is not being read.
Then, I ran it with half the k-mers (only for R1):
bbduk.sh in1=R1_001.fastq.gz in2=R2_001.fastq.gz out1=bbmap_R1.fastq.gz out2=bbmap_R2.fastq.gz ref=RC_DLSO_without_start.fa rcomp=f restrictleft=31 hdist=0 minkmerfraction=1.0 tbo skipr2=t
Added 7164 kmers; time: 0.162 seconds.
Memory: max=1459m, free=1359m, used=100m
Input is being processed as paired
Started output streams: 0.123 seconds.
Processing time: 14.258 seconds.
Input: 1089512 reads 164516312 bases.
Contaminants: 0 reads (0.00%) 0 bases (0.00%)
Trimmed by overlap: 51452 reads (4.72%) 2452840 bases (1.49%)
Total Removed: 0 reads (0.00%) 2452840 bases (1.49%)
Result: 1089512 reads (100.00%) 162063472 bases (98.51%)
Above, it said it added 7164 k-mers intead of ~3250 in my ref file.
And it only took 14 secs for a file of 3,250 probes.
Can you help me figuring out with what is going on?
Thanks a lot in advance!