This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Extraction Of Fastq Files (Seq + Quality Values) According To Lenght Distribution

I would like to have sequence with corresponding quality values according to length distribution of sequences of fastq in as such fastq output. suppose i want to extract that reads which falls sequence length of 16, 17, and 18. please keep in mind that my fastq reads in color space.. exp:

@5521_14_238_F3

T0133103120031002212223

+

?><5=;<<<12>=<;1;;=5);

@5521_16_404_F3

T03310320002130202331112

+

78;:;;><>9=9;<<2=><<1;5

any tricks by one line bash commands or by perl (without using bioperl modules)???

fastq rna-seq

1 answer

I think this question has already been answered here:

A: Filtering fastq sequences based on lengths

Log in to answer this question.