Max Length With Fastx Tookit
1
0
Entering edit mode
9.0 years ago
serpalma.v ▴ 70

Hello everyone, i was wondering if there's a way to filter fastq reads based on minimun and maximun length. Plus trimming at minimun quality value.

this is the closest i've came out with:

fastq_quality_trimmer -v -t 20 -l 16 -i myfile.fastq -o myfile.trimmed -Q 33


however, no option to choose the maximun length appears to exists. Is it possible that there are hidden commands that i don't know about (such as -Q 33). According to a technical note from ion torrent, there is an option to limit the maximimun length and it's contained in fastq_quality_trimmer.

I would greatly appretiate the help, Best regards!

fastx length • 3.1k views
1
Entering edit mode
0
Entering edit mode

is that a bad thing, sorry I am not familiar with forum's rules and regulations. Best

1
Entering edit mode

Those of us on both sites kind of hate it. Inevitably, a question will get answered on both sites, which just means that someone wasted their time.

0
Entering edit mode

Can be, however that's not everybody. And based on this post, i've gotten different feedback from both sources.

1
Entering edit mode
9.0 years ago

cutadapt and many other tools can filter for maximum lenght

  -m LENGTH, --minimum-length=LENGTH
are also discarded. In colorspace, an initial primer
is not counted (default: 0).
-M LENGTH, --maximum-length=LENGTH
are also discarded. In colorspace, an initial primer
is not counted (default: no limit).