Skip to content

Commit

Permalink
refactor: Increase default reqs for ppanggolin and create_report (#137)
Browse files Browse the repository at this point in the history
* refactor: Increase default reqs for ppanggolin and create_report

* chore: Update test config
  • Loading branch information
jvfe committed Jun 22, 2023
1 parent 09400c0 commit cf46732
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 6 deletions.
4 changes: 2 additions & 2 deletions conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ process {
time = { check_max( 4.h * task.attempt, 'time' ) }
}
withLabel:process_medium {
cpus = { check_max( 12 * task.attempt, 'cpus' ) }
cpus = { check_max( 12 * task.attempt, 'cpus' ) }
memory = { check_max( 48.GB * task.attempt, 'memory' ) }
time = { check_max( 8.h * task.attempt, 'time' ) }
}
Expand All @@ -50,7 +50,7 @@ process {
time = { check_max( 20.h * task.attempt, 'time' ) }
}
withLabel:process_high_memory {
memory = { check_max( 125.GB * task.attempt, 'memory' ) }
memory = { check_max( 240.GB, 'memory' ) }
}
withLabel:error_ignore {
errorStrategy = 'ignore'
Expand Down
3 changes: 3 additions & 0 deletions conf/test.config
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,7 @@ process {
memory = 6.GB
time = 4.h
}
withLabel:process_high_memory {
memory = 6.GB
}
}
2 changes: 1 addition & 1 deletion modules/local/chunked_fasttree.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
process CHUNKED_FASTTREE {
label 'process_medium'
label 'process_high'

conda (params.enable_conda ? "bioconda::fasttree=2.1.10" : null)
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
Expand Down
3 changes: 2 additions & 1 deletion modules/local/create_report.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
process CREATE_REPORT {
label "process_medium"
label 'process_high'
label 'process_high_memory'

conda (params.enable_conda ? "conda-forge::pandas=1.4.3" : null)
if (workflow.containerEngine == 'singularity' && !params.singularity_pull_docker_container) {
Expand Down
3 changes: 2 additions & 1 deletion modules/local/ppanggolin/msa/main.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
process PPANGGOLIN_MSA {
tag "$meta.id"
label 'process_medium'
label 'process_high'
label 'process_high_memory'

conda "bioconda::ppanggolin=1.2.105"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
Expand Down
3 changes: 2 additions & 1 deletion modules/local/ppanggolin/workflow/main.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
process PPANGGOLIN_WORKFLOW {
tag "$meta.id"
label 'process_medium'
label 'process_high'
label 'process_high_memory'

conda "bioconda::ppanggolin=1.2.105"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
Expand Down
3 changes: 3 additions & 0 deletions tests/nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,7 @@ process {
memory = 4.GB
time = 4.h
}
withLabel:process_high_memory {
memory = 4.GB
}
}

0 comments on commit cf46732

Please sign in to comment.