File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ process {
7070 memory = {params.totalMemory}
7171 }
7272 $MarkDuplicates {
73- // for deep sequencing we do need all the memory
73+ // Actually the -Xmx value should be kept lower
7474 cpus = 16
75- memory = {params.totalMemory }
75+ memory = {2 * params.singleCPUMem }
7676 }
7777 $MergeBams {
7878 cpus = 16
Original file line number Diff line number Diff line change @@ -52,7 +52,9 @@ process {
5252 time = {params.runTime * task.attempt}
5353 }
5454 $MarkDuplicates {
55- // looks like overkill, but for deep sequencing we do need all the memory
55+ // Actually the -Xmx value should be kept lower
56+ cpus = 16
57+ memory = {2 * params.singleCPUMem}
5658 }
5759 $MergeBams {
5860 memory = {params.singleCPUMem * task.attempt}
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ process MapReads {
179179 """
180180 bwa mem -R \" ${ readGroup} \" ${ extra} -t ${ task.cpus} -M \
181181 ${ genomeFile} ${ fastqFile1} ${ fastqFile2} | \
182- samtools sort --threads ${ task.cpus} -m 4G - > ${ idRun} .bam
182+ samtools sort --threads ${ task.cpus} -m 2G - > ${ idRun} .bam
183183 """
184184}
185185
You can’t perform that action at this time.
0 commit comments