modified: pixi.toml
[GalaxyCodeBases.git] / BioInfo / BS-Seq / bwa-meth / compare / src / trim.sh
blobefbf12fca6130cb237a6bdabe507b9f813289beb
1 set -e
3 R1=$1
4 R2=$2
6 QCUTOFF=$3
8 O1=$(dirname $1)/$(basename $1 .fastq.gz).trim.fastq.gz;
9 O2=$(dirname $2)/$(basename $2 .fastq.gz).trim.fastq.gz;
12 trim_galore -t --paired --quality $QCUTOFF $R1 $R2
14 mv *_R1_val_1.fq.gz $O1
15 mv *_R2_val_2.fq.gz $O2