Entering edit mode
10.8 years ago
Floris Brenk
★
1.0k
Hi all,
I have several fastq files and they are biased at the first sequenced base, which is a in too many reads a G. So what I would like is a simple script that removes the first base when it is a G in all reads from the fastq file. Is this possible?
Thanks
Thanks for your reply. But as far as I understand this removes all the first bases and I want that only the first G will be removed but when there is an A, C or T it can stay.
Ah, that was unclear to me. I've updated by answer with an example of how to do that with awk.
Yes perfect! thanks a lot!