Skip to content
Snippets Groups Projects
Commit 25cffcfa authored by pjvan_thof's avatar pjvan_thof
Browse files

Added back toolJar as optional

parent bb01f989
No related branches found
No related tags found
1 merge request!19Switched executable
......@@ -169,6 +169,7 @@ task FastqSync {
}
task SampleConfig {
File? toolJar
String? preCommand
Array[File]+ inputFiles
String keyFilePath
......@@ -182,11 +183,15 @@ task SampleConfig {
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0]))
String toolCommand = if defined(toolJar)
then "java -Xmx" + mem + "G -jar " +toolJar
else "biopet-extractadaptersfastqc -Xmx" + mem + "G"
command {
set -e -o pipefail
${preCommand}
mkdir -p . ${"$(dirname " + jsonOutputPath + ")"} ${"$(dirname " + tsvOutputPath + ")"}
biopet-sampleconfig -Xmx${mem}G \
${toolCommand} \
-i ${sep="-i " inputFiles} \
${"--sample " + sample} \
${"--library " + library} \
......
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