diff --git a/rna-seq.nf b/rna-seq.nf index cfa6ab1921988cbda87d318fdf324af5d456a3e8..029795cc663dea98c6a4b2f02f9ad1eb58a1776d 100644 --- a/rna-seq.nf +++ b/rna-seq.nf @@ -266,7 +266,7 @@ process getData { echo -e "LOG: unzipped" >> ${repRID}.getData.log # bag fetch fastq's only and rename by repRID - if [ "${params.endsForce}" != "" ] + if [ "${params.endsForce}" == "" ] then echo -e "LOG: fetching replicate bdbag" >> ${repRID}.getData.log fastqCount=\$(sh ${script_bdbagFetch} \${replicate::-13} ${repRID})