Skip to content

Commit ffca201

Browse files
committed
added publishDir/cpus/memory to follow the same convention as other processes
1 parent 179cb24 commit ffca201

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

tools/payload-gen-dna-alignment/payload-gen-dna-alignment.nf

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,17 @@ params.seq_experiment_analysis = ""
3131
params.read_group_ubam_analysis = ""
3232
params.wf_name = ""
3333
params.wf_version = ""
34-
params.container_version = ''
34+
params.container_version = ""
35+
params.cpus = 1
36+
params.mem = 1 // GB
37+
params.publish_dir = ""
3538

3639
process payloadGenDnaAlignment {
3740
container "quay.io/icgc-argo/payload-gen-dna-alignment:payload-gen-dna-alignment.${params.container_version ?: version}"
41+
publishDir "${params.publish_dir}/${task.process.replaceAll(':', '_')}", enabled: "${params.publish_dir ? true : ''}"
42+
43+
cpus params.cpus
44+
memory "${params.mem} GB"
3845

3946
input:
4047
path files_to_upload

0 commit comments

Comments
 (0)