Skip to content

Commit

Permalink
Update github_actions.config
Browse files Browse the repository at this point in the history
  • Loading branch information
erinyoung committed Mar 15, 2024
1 parent 7e551e5 commit ebdc5c4
Showing 1 changed file with 31 additions and 40 deletions.
71 changes: 31 additions & 40 deletions .github/workflows/github_actions.config
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
process {
maxRetries = 0
maxErrors = '-1'
maxRetries = 0
maxErrors = '-1'

withLabel:process_single {
cpus = { 1 }
memory = { 6.GB * task.attempt }
time = { 10.m * task.attempt }
}
withLabel:process_low {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 2.h * task.attempt }
}
withLabel:process_medium {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 4.h * task.attempt }
}
withLabel:process_high {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 16.h * task.attempt }
}
withLabel:process_long {
time = { 20.h * task.attempt }
}
withLabel:process_high_memory {
memory = { 12.GB * task.attempt }
}

withLabel:process_single {
cpus = { 1 }
memory = { 6.GB * task.attempt }
time = { 10.m * task.attempt }
}
withLabel:process_low {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 2.h * task.attempt }
}
withLabel:process_medium {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 4.h * task.attempt }
}
withLabel:process_high {
cpus = { 2 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 16.h * task.attempt }
}
withLabel:process_long {
time = { 20.h * task.attempt }
}
withLabel:process_high_memory {
memory = { 12.GB * task.attempt }
}
withName:amrfinderplus {
errorStrategy = { task.attempt < 2 ? 'retry' : 'terminate'}
}
Expand Down Expand Up @@ -131,12 +132,7 @@ process {
errorStrategy = { task.attempt < 2 ? 'retry' : 'terminate'}
}
withName:panaroo {
publishDir = {
params.outdir,
mode: 'link',
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
pattern: "panaroo/core_gene_alignment.aln"
}
publishDir = { params.outdir, mode: 'link', pattern: "panaroo/core_gene_alignment.aln"}
errorStrategy = { task.attempt < 2 ? 'retry' : 'terminate'}
}
withName:pbptyper {
Expand All @@ -149,12 +145,7 @@ process {
errorStrategy = { task.attempt < 2 ? 'retry' : 'terminate'}
}
withName:prokka {
publishDir = {
params.outdir,
mode: 'link',
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
pattern: "gff/*.gff"
}
publishDir = { params.outdir, mode: 'link', pattern: "gff/*.gff" }
errorStrategy = { task.attempt < 2 ? 'retry' : 'terminate'}
}
withName:quast {
Expand Down

0 comments on commit ebdc5c4

Please sign in to comment.