Max Length With Fastx Tookit
1
0
Entering edit mode
8.2 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 • 2.9k views
ADD COMMENT
1
Entering edit mode
ADD REPLY
0
Entering edit mode

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

ADD REPLY
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.

ADD REPLY
0
Entering edit mode

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

ADD REPLY
1
Entering edit mode
8.2 years ago

cutadapt and many other tools can filter for maximum lenght

  -m LENGTH, --minimum-length=LENGTH
                        Discard trimmed reads that are shorter than LENGTH.
                        Reads that are too short even before adapter removal
                        are also discarded. In colorspace, an initial primer
                        is not counted (default: 0).
    -M LENGTH, --maximum-length=LENGTH
                        Discard trimmed reads that are longer than LENGTH.
                        Reads that are too long even before adapter removal
                        are also discarded. In colorspace, an initial primer
                        is not counted (default: no limit).
ADD COMMENT

Login before adding your answer.

Traffic: 1866 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6