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

Set publishData mode to copy

parent 850b8d68
Branches
Tags
3 merge requests!37v0.0.1,!13Develop,!12Resolve "Make scripts input files for processes"
Pipeline #5718 passed with stages
in 27 minutes and 6 seconds
...@@ -15,7 +15,6 @@ deriva = Channel ...@@ -15,7 +15,6 @@ deriva = Channel
bdbag = Channel bdbag = Channel
.fromPath(params.bdbag) .fromPath(params.bdbag)
.ifEmpty { exit 1, "deriva cookie file for bdbag not found: ${params.bdbag}" } .ifEmpty { exit 1, "deriva cookie file for bdbag not found: ${params.bdbag}" }
repRID = params.repRID repRID = params.repRID
outDir = params.outDir outDir = params.outDir
...@@ -30,7 +29,7 @@ derivaConfig = Channel.fromPath("${baseDir}/conf/replicate_export_config.json") ...@@ -30,7 +29,7 @@ derivaConfig = Channel.fromPath("${baseDir}/conf/replicate_export_config.json")
process getBag { process getBag {
executor 'local' executor 'local'
tag "${repRID}" tag "${repRID}"
publishDir "${logsDir}/getBag", mode: 'symlink', pattern: "${repRID}.getBag.err" publishDir "${logsDir}/getBag", mode: 'copy', pattern: "${repRID}.getBag.err"
input: input:
path credential, stageAs: 'credential.json' from deriva path credential, stageAs: 'credential.json' from deriva
...@@ -56,7 +55,7 @@ process getBag { ...@@ -56,7 +55,7 @@ process getBag {
*/ */
process getData { process getData {
tag "${repRID}" tag "${repRID}"
publishDir "${logsDir}/getData", mode: 'symlink', pattern: "${repRID}.getData.err" publishDir "${logsDir}/getData", mode: 'copy', pattern: "${repRID}.getData.err"
input: input:
executor 'local' executor 'local'
...@@ -92,7 +91,7 @@ process getData { ...@@ -92,7 +91,7 @@ process getData {
*/ */
process trimData { process trimData {
tag "${repRID}" tag "${repRID}"
publishDir "${logsDir}/trimData", mode: 'symlink', pattern: "\${repRID}.trimData.*" publishDir "${logsDir}/trimData", mode: 'copy', pattern: "\${repRID}.trimData.*"
input: input:
file(fastq) from fastqs file(fastq) from fastqs
......
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