Skip to content
Snippets Groups Projects
Unverified Commit ebecfb6d authored by Laurent Modolo's avatar Laurent Modolo
Browse files

nextflow.config: add memory limits

parent 41f34c15
Branches
No related tags found
No related merge requests found
...@@ -17,6 +17,7 @@ profiles { ...@@ -17,6 +17,7 @@ profiles {
docker.temp = "auto" docker.temp = "auto"
docker.enabled = true docker.enabled = true
process { process {
memory = '16 GB'
withLabel: big_mem_mono_cpus { withLabel: big_mem_mono_cpus {
cpus = 1 cpus = 1
} }
...@@ -29,6 +30,7 @@ profiles { ...@@ -29,6 +30,7 @@ profiles {
singularity.enabled = true singularity.enabled = true
singularity.cacheDir = "./bin/" singularity.cacheDir = "./bin/"
process { process {
memory = '16 GB'
withLabel: big_mem_mono_cpus { withLabel: big_mem_mono_cpus {
cpus = 1 cpus = 1
} }
...@@ -46,7 +48,7 @@ profiles { ...@@ -46,7 +48,7 @@ profiles {
executor = "sge" executor = "sge"
clusterOptions = "-cwd -V" clusterOptions = "-cwd -V"
cpus = 1 cpus = 1
memory = "20GB" memory = "128GB"
time = "12h" time = "12h"
queue = "monointeldeb128" queue = "monointeldeb128"
} }
...@@ -55,7 +57,7 @@ profiles { ...@@ -55,7 +57,7 @@ profiles {
executor = "sge" executor = "sge"
clusterOptions = "-cwd -V" clusterOptions = "-cwd -V"
cpus = 32 cpus = 32
memory = "30GB" memory = "192GB"
time = "24h" time = "24h"
queue = "CLG6242deb384A,CLG6242deb384C,CLG5218deb192A,CLG5218deb192B,CLG5218deb192C,CLG5218deb192D" queue = "CLG6242deb384A,CLG6242deb384C,CLG5218deb192A,CLG5218deb192B,CLG5218deb192C,CLG5218deb192D"
penv = "openmp32" penv = "openmp32"
...@@ -75,6 +77,7 @@ profiles { ...@@ -75,6 +77,7 @@ profiles {
executor = "sge" executor = "sge"
clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n" clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
cpus = 1 cpus = 1
memory = "8GB"
queue = "huge" queue = "huge"
} }
withLabel: big_mem_multi_cpus { withLabel: big_mem_multi_cpus {
...@@ -83,9 +86,9 @@ profiles { ...@@ -83,9 +86,9 @@ profiles {
stageInMode = "copy" stageInMode = "copy"
stageOutMode = "rsync" stageOutMode = "rsync"
executor = "sge" executor = "sge"
clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n\ clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
"
cpus = 1 cpus = 1
memory = "8GB"
queue = "huge" queue = "huge"
} }
} }
......
...@@ -6,7 +6,6 @@ process mark_duplicate { ...@@ -6,7 +6,6 @@ process mark_duplicate {
label "big_mem_mono_cpus" label "big_mem_mono_cpus"
tag "$file_id" tag "$file_id"
publishDir "results/mapping/ddup/", mode: 'copy' publishDir "results/mapping/ddup/", mode: 'copy'
memory '30 GB'
input: input:
tuple val(file_id), path(bam) tuple val(file_id), path(bam)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment