Thank you for the reply
I used this command
bbduk.sh in=lampseq.fastq literal=CCCATAAATC,CACTTAGGAG,CGACCTAGGA
Its not working.
Added 0 kmers; time: 0.003 seconds. Memory: max=1468m, total=1468m, free=1436m, used=32m
Input is being processed as unpaired Processing time: 0.070 seconds.
Input: 18281 reads 2394811 bases. Contaminants: 0 reads (0.00%) 0 bases (0.00%) Total Removed: 0 reads (0.00%) 0 bases (0.00%) Result: 18281 reads (100.00%) 2394811 bases (100.00%)
Time: 0.075 seconds. Reads Processed: 18281 243.76k reads/sec Bases Processed: 2394k 31.93m bases/sec
If you open-source and share your code on Github/GitLab, any one can help you to optimize it
I will surely do it, but I need a quick fix now.
Since this appears to be LAMPseq data there is some software made available here. It is not for long reads but may be usable.
I am aware of that software. But I felt there is a easier way to do this. BBDuk is a easy way and it can be optimised to get conservative estimation of barcodes. Thanks for the answer