Skip to content
Snippets Groups Projects
Commit 8ab63c95 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Add optional upload param

parent e253651f
Branches
Tags
3 merge requests!58Develop,!54Resolve "Add an option to not upload",!53Resolve "process_derivaUpload"
......@@ -18,6 +18,7 @@ params.refMoVersion = "38.p6.vM22"
params.refHuVersion = "38.p12.v31"
params.refERCCVersion = "92"
params.outDir = "${baseDir}/../output"
params.upload = true
params.email = ""
......@@ -51,6 +52,7 @@ refHuVersion = params.refHuVersion
refERCCVersion = params.refERCCVersion
outDir = params.outDir
logsDir = "${outDir}/Logs"
upload = params.upload
inputBagForce = params.inputBagForce
fastqsForce = params.fastqsForce
speciesForce = params.speciesForce
......@@ -1284,6 +1286,9 @@ process uploadInputBag {
output:
path ("inputBagRID.csv") into inputBagRID_fl
when:
upload
script:
"""
hostname > ${repRID}.uploadInputBag.log
......@@ -1350,6 +1355,9 @@ process uploadExecutionRun {
output:
path ("executionRunRID.csv") into executionRunRID_fl
when:
upload
script:
"""
hostname > ${repRID}.uploadExecutionRun.log
......@@ -1431,6 +1439,9 @@ process uploadQC {
output:
path ("qcRID.csv") into qcRID_fl
when:
upload
script:
"""
hostname > ${repRID}.uploadQC.log
......@@ -1572,6 +1583,9 @@ process uploadOutputBag {
output:
path ("outputBagRID.csv") into outputBagRID_fl
when:
upload
script:
"""
hostname > ${repRID}.uploadOutputBag.log
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment