Entering edit mode
2.2 years ago
Omurice
▴
10
Hi,
I was wondering if I have 2 sequences of interest: A and B.
Is it possible to do a grep search for reads (in a fastq):
- that contain just sequence "A" and exclude "B" (and vice versa)
- that contain both sequence "A" and "B" together
if so, would someone be able to provide/refer me to the commands to do so?
Thank you so much!
Keep in mind that
grep
will only do perfect matches. You may want to use a NGS data specific tool likeseqkit grep
orbbduk.sh
in filter mode, if you want to allow for other cases than perfect matches.