Skip to content
Snippets Groups Projects
Commit 4cefb9aa authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Switch to bash

parent e385f934
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,10 @@ task FastqSplitter {
command {
mkdir -p ${sep=' ' prefix(outputPath + "/chunk_", chunks)}
${if (numberChunks > 1) then ("java -jar " + tool_jar + " -I " + inputFastq + " -o ${sep=' -o ' chunks}")
else ("ln -sf " + inputFastq + " " + outputPath + "/chunk_0/" + basename(inputFastq))}
if [ ${numberChunks} -gt 1 ]; then
java -jar ${tool_jar} -I ${inputFastq} -o ${sep=' -o ' chunks}
else
ln -sf ${inputFastq} ${outputPath}/chunk_0/${basename(inputFastq)}
}
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