Browse Source

repair optional parameter

master
songyq 4 years ago
parent
commit
722626eabb
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      tasks/mergefq.wdl

+ 4
- 3
tasks/mergefq.wdl View File

@@ -9,10 +9,11 @@ task mergefq {

command <<<
set -euo pipefail
if [ ${fq3} != "" ]; then
cat ${fq1} ${fq2} > ${fq_m}
if [ ${fq3} = "" ]
then
cat ${fq1} ${fq2} > ${fq_m}
else
cat ${fq1} ${fq2} ${fq3} > ${fq_m}
cat ${fq1} ${fq2} ${fq3} > ${fq_m}
fi
>>>


Loading…
Cancel
Save