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

Merge pull request #19 from biowdl/BIOPET-1008

Switched executable
parents c966b68a 25cffcfa
No related branches found
No related tags found
No related merge requests found
......@@ -169,8 +169,8 @@ task FastqSync {
}
task SampleConfig {
File? toolJar
String? preCommand
File toolJar
Array[File]+ inputFiles
String keyFilePath
String? sample
......@@ -183,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 + ")"}
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