Skip to content
Snippets Groups Projects
Commit a75cb7cf authored by Brandi Cantarel's avatar Brandi Cantarel
Browse files

trim galore bug with

parent 58dc899f
No related merge requests found
......@@ -30,7 +30,7 @@ if [[ -z $pair_id ]]; then
fi
fqs=''
i=0
numfq=$#
numfq=${#fqs[@]}
while [[ $i -le $numfq ]]
do
fqs="$fqs $1"
......@@ -51,14 +51,13 @@ fi
numfq=${#fqs[@]}
copts='-q 25 --illumina --gzip --length 35'
if [[ $numfq == 2 ]]
if [[ $numfq == 1 ]]
then
copts="$copts --paired"
fi
source /etc/profile.d/modules.sh
module load trimgalore/0.6.4 cutadapt/2.5
trim_galore $copts ${fqs}
files=`find ./ -name "*_val_1.fq.gz"`
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment