Skip to content
Snippets Groups Projects
Commit a7a1986c authored by Pappas's avatar Pappas
Browse files

Fix command indentation

parent 45f40cb8
No related branches found
No related tags found
1 merge request!13Centrifuge classify and kreport tasks
...@@ -75,23 +75,23 @@ task classify { ...@@ -75,23 +75,23 @@ task classify {
Int? memory Int? memory
command { command {
set -e -o pipefail set -e -o pipefail
mkdir -p ${outputDir} mkdir -p ${outputDir}
${preCommand} ${preCommand}
centrifuge \ centrifuge \
${"-p " + threads} \ ${"-p " + threads} \
${"-x " + indexPrefix} \ ${"-x " + indexPrefix} \
${true="-f" false="" fastaInput} \ ${true="-f" false="" fastaInput} \
${true="-k " false="" defined(assignments)} ${assignments} \ ${true="-k " false="" defined(assignments)} ${assignments} \
${true="-1 " false="-U " defined(read2)} ${read1} \ ${true="-1 " false="-U " defined(read2)} ${read1} \
${"-2 " + read2} \ ${"-2 " + read2} \
${"-U " + unpairedReads} \ ${"-U " + unpairedReads} \
${"--report-file " + reportFilePath} \ ${"--report-file " + reportFilePath} \
${"--min-hitlen " + minHitLen} \ ${"--min-hitlen " + minHitLen} \
${"--min-totallen " + minTotalLen} \ ${"--min-totallen " + minTotalLen} \
${true="--host-taxids " false="" defined(hostTaxIds)} ${sep=',' hostTaxIds} \ ${true="--host-taxids " false="" defined(hostTaxIds)} ${sep=',' hostTaxIds} \
${true="--exclude-taxids " false="" defined(excludeTaxIds)} ${sep=',' excludeTaxIds} \ ${true="--exclude-taxids " false="" defined(excludeTaxIds)} ${sep=',' excludeTaxIds} \
${true="| gzip -c > " false="-S " compressOutput}${outputFilePath}${true=".gz" false="" compressOutput} ${true="| gzip -c > " false="-S " compressOutput}${outputFilePath}${true=".gz" false="" compressOutput}
} }
output { output {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment