Skip to content
Snippets Groups Projects
Unverified Commit 4177a251 authored by Peter van 't Hof's avatar Peter van 't Hof Committed by GitHub
Browse files

Merge branch 'master' into BIOWDL-25

parents cb97a60c e75a3008
No related branches found
No related tags found
1 merge request!17Caching related changes
......@@ -168,8 +168,8 @@ task FastqSync {
}
task SampleConfig {
File? toolJar
String? preCommand
File toolJar
Array[File]+ inputFiles
String keyFilePath
String? sample
......@@ -182,11 +182,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 + ")"}
java -Xmx${mem}G -jar ${toolJar} \
${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