Hi guys,
I have a fastq file that contains paired reads. I know that F3 and R3 tag beginning with G and T, respectively in second line. I want split the file in R3.fastq and F3.fastq using awk, but I can not. Anybody help me?
@745_15_830
G..13...10...033..3323.331..131..3.0..3311.333....2
+
!!@@!!!8'!!!A%@!!@A'B!&3:!!?A&!!B!<!!B?(&!B=7!!!!%
@745_15_830
T103223.0303002200023123021022000003020..301233..0.
+
6+%'<(!%-?B-)4%=(<(?+&%%)-)%%91%-)<*5)!!4%%&A2!!%!
@745_15_908
G..12...032..030..1120.311..130..3.1..0233.231....1
+
!!-;!!!%*@!!@A1!!A57%!0+A!!4=<!!@!/!!-'*@!(1A!!!!4
@745_15_908
T303313.2231300002222330212112022210120..311031..0.
+
&@B,(*!,'/1B%%)%=&'(9*%0&0:&8%&&&.')>)!!;:3(%2!!0!
+1 for using Awk!