Skip to content

Commit

Permalink
updating resources labels
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-buscaroli committed Jan 27, 2025
1 parent 9129bea commit 98f8875
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 47 deletions.
4 changes: 3 additions & 1 deletion conf/base.config
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ process {
memory = { 100.GB * task.attempt }
time = { 5.h * task.attempt }
}
withLabel:process_long {
withLabel:process_low_long {
cpus = { 8 * task.attempt }
memory = { 12.GB * task.attempt }
time = { 5.h * task.attempt }
}
withLabel:error_ignore {
Expand Down
8 changes: 0 additions & 8 deletions conf/modules/cnaqc.config
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
process {
withName: 'CNAQC'{
memory = '20 GB'
cpus = 4
time = '30 min'

errorStrategy = 'retry'
publishDir = [
[
Expand Down Expand Up @@ -37,10 +33,6 @@ process {


withName: 'JOIN_CNAQC'{
memory = '20 GB'
cpus = 4
time = '30 min'

errorStrategy = 'retry'

publishDir = [
Expand Down
2 changes: 0 additions & 2 deletions conf/modules/ctree.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
process {
withName: 'CTREE' {
memory='50 GB'
time='2h'
errorStrategy='ignore'
publishDir = [
[
Expand Down
2 changes: 0 additions & 2 deletions conf/modules/driver_annotation.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
process{
withName: 'ANNOTATE_DRIVER' {
memory = '15 GB'
time = '15 min'
errorStrategy = 'finish'
publishDir = [
[
Expand Down
4 changes: 0 additions & 4 deletions conf/modules/ensemblvep.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ process {

process {
withName: 'TABIX_TABIX'{
memory = '2 GB'
time = '1h'
publishDir = [
[
mode: params.publish_dir_mode,
Expand All @@ -41,8 +39,6 @@ process {

process {
withName: 'UNTAR'{
memory = '2 GB'
time = '1h'
publishDir = [
[
mode: params.publish_dir_mode,
Expand Down
9 changes: 0 additions & 9 deletions conf/modules/formatter.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
process {
withName: 'CNA_PROCESSING'{
memory = '10 GB'
cpus = 4
time = '30 min'
errorStrategy = 'retry'
publishDir = [
[
Expand All @@ -14,9 +11,6 @@ process {
}

withName: 'VCF_PROCESSING'{
memory = '10 GB'
cpus = 4
time = '30 min'
errorStrategy = 'retry'
ext.args = {[
"filter_mutations": params.vcf_filter_mutations
Expand All @@ -30,9 +24,6 @@ process {
]
}
withName: 'RDS_PROCESSING'{
memory = '10 GB'
cpus = 4
time = '30 min'
errorStrategy = 'retry'
publishDir = [
[
Expand Down
6 changes: 0 additions & 6 deletions conf/modules/lifter.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ process{
pattern: "*{rds}"
]
]
memory = '10 GB'
time = '10 min'
errorStrategy = 'finish'
}

Expand All @@ -19,8 +17,6 @@ process{
path: { "${params.outdir}/lifter/positions/${meta.dataset}/${meta.patient}/"}
]
]
memory = '10 GB'
time = '10 min'
errorStrategy = 'finish'
}

Expand All @@ -32,8 +28,6 @@ process{
pattern: "*{rds}"
]
]
memory = '10 GB'
time = '10 min'
errorStrategy = 'finish'
}

Expand Down
2 changes: 0 additions & 2 deletions conf/modules/mobsterh.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
process {
withName: 'MOBSTERh' {
memory='128 GB'
time='2h'
publishDir = [
[
mode: params.publish_dir_mode,
Expand Down
2 changes: 0 additions & 2 deletions conf/modules/pyclonevi.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
process {
withName: 'PYCLONEVI' {
memory='50 GB'
time='2h'
publishDir = [
[
mode: params.publish_dir_mode,
Expand Down
3 changes: 0 additions & 3 deletions conf/modules/sigprofiler.config
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ process {

process {
withName: 'SIGPROFILER' {
memory = "100 GB"
time = "12.h"
singularity.runOptions = '--writable-tmpfs'
cpus = 12
maxForks = 20
errorStrategy = 'retry'
ext.args = {
Expand Down
2 changes: 0 additions & 2 deletions conf/modules/sparsesignatures.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
process {
withName: 'SPARSE_SIGNATURES'{
memory = '150 GB'
time = '12h'
errorStrategy = 'finish'
ext.args = {[
"K" : params.sparsesignatures_K,
Expand Down
3 changes: 0 additions & 3 deletions conf/modules/tinc.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
process {
withName: 'TINC'{
memory='16 GB'
cpus='4'
time='6h'
errorStrategy='finish'
ext.args = {[
"vaf_range_tumour" : params.tinc_vaf_range_tumour,
Expand Down
2 changes: 0 additions & 2 deletions conf/modules/viber.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
process {
withName: 'VIBER' {
memory='128 GB'
time='2h'
errorStrategy = 'ignore'
publishDir = [
[
Expand Down
2 changes: 1 addition & 1 deletion modules/local/SparseSignatures/main.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
process SPARSE_SIGNATURES {
tag "$meta.id"
label "process_long"
label "process_low_long"
container = 'docker://lvaleriani/sparsesignature:version1.0'

input:
Expand Down

0 comments on commit 98f8875

Please sign in to comment.