1.下载
wget http://www.usadellab.org/cms/uploads/supplementary/Trimmomatic/Trimmomatic-0.38.zip
(已经下载好了,直接进行第2步)
2.解压安装
unzip /disk/shares/Trimmomatic-0.38.zip -d ~/Biosofts/
3.运行测试
java -jar ~/Biosofts/Trimmomatic-0.38/trimmomatic-0.38.jar
3.原始数据过滤
mkdir trim_out
java -jar ~/Biosofts/Trimmomatic-0.38/trimmomatic-0.38.jar PE -phred33 /disk/shares/Seqs/test_7942raw_1.fq.gz /disk/shares/Seqs/test_7942raw_2.fq.gz ./trim_out/output_forward_paired.fq.gz ./trim_out/output_forward_unpaired.fq.gz ./trim_out/output_reverse_paired.fq.gz ./trim_out/output_reverse_unpaired.fq.gz ILLUMINACLIP:/disk/teaching/Biosofts/Trimmomatic-0.38/adapters/TruSeq2-PE.fa:2:30:10 SLIDINGWINDOW:5:20 LEADING:20 TRAILING:20 MINLEN:75