I tried to filter out FASTQ reads which are shorter than 259 bp with
bioawk -cfastx 'length() >= 259 {print "@" " " "\n""\n+\n"}' good/SZ005_NoIndex_L002_R1_009.good.fq.gz \
| gzip > good-filtered/SZ005_NoIndex_L002_R1_009.good-filtered.fq.gz`.
Unfortunately, the output was wrong:
@
+
@
+
@
What did I miss?
Thank you in advance,