Filter fastq files
1
0
Entering edit mode
4.6 years ago
ATCG ▴ 400

After removing over-represented sequences using trimmomatic my fasq file has a large number of small sequences. How can I remove these using trimmomatic if possible or other tools except awk.

Fastq trimmomatic • 1.1k views
ADD COMMENT
0
0
Entering edit mode

This will work cutadapt --minimum-length 20 -o output.fastq input.fastq

ADD REPLY
0
Entering edit mode

Try bbduk.sh in future. A guide is available here. Easy to understand options, fast.

ADD REPLY
1
Entering edit mode
4.6 years ago

Consult the Trimmomatic manual

http://www.usadellab.org/cms/?page=trimmomatic

you will need to use the MINLEN action

or as seen in the manual

java -jar trimmomatic-0.39.jar PE input_forward.fq.gz input_reverse.fq.gz output_forward_paired.fq.gz output_forward_unpaired.fq.gz output_reverse_paired.fq.gz output_reverse_unpaired.fq.gz MINLEN:36

yikes for user interface. So I'd recommend using another tool.

ADD COMMENT

Login before adding your answer.

Traffic: 1980 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