filtering the reads based on the length
I have a fastq file (RNAseq) and filtered the linkers. now the sequences in the file have different length. I want to remove the reads with shorter than 21 nucleotide and use the rest of the reads. do you know any toll to do that?
• 11,059 views
•
link
3 answers
Use the following tool from BBMap suite. reformat.sh in=your_fq.gz out=filt.fq.gz minlength=21. (Note: If you have paired-end data you will need to use in1= in2= and out1= out2=).
• 1 views
•
link
Log in to answer this question.
How did you remove the adapters (linkers)? I hope you used an established tool like
Cutadapt. These tools have in-built options to discard reads shorter a given threshold.Hi,
You can use fastaparse.pl script available in mirdeep2 package.
Does that script work with
fastqformat files? OP is specifically asking about that format.Filtering Fastq Sequences Based On Lengths