Entering edit mode
6.6 years ago
blooming.daisy333
▴
110
Hellow, Can someone kindly let me know that how to remove a specific read from paired end fastq file using awk or any other command...???
Thank you so much for kind support. im newbie to NGS and linux and interested to know that Is it possible to remove specific reads using linux commands only rather to use ant toolkit. thank
Assuming that you have fastq gzipped,
Please direct the output to a file of your choice
If you have fastq unzipped, try this:
(note: if sample read id contains strand information (/1 or /2), make sure that they are escaped. For eg. if read id is
K00193:38:H3MYFBBXX:4:2119:24527:21657/1
, sed command would be:thank you so much for kind help.. I will try it and will discuse the output,.. many thanks agauin..
what if you have the specific sequence but not a sequence read? (for example, a repeated sequence that is overrepresented and you wanna remove from your sample)