Skip to content

Commit

Permalink
set otherjvmheap value to 4GB and subtract it from task.memory to set…
Browse files Browse the repository at this point in the history
… jvmheap
  • Loading branch information
Mootor authored and Mootor committed Oct 11, 2024
1 parent 58bd048 commit 630b1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/gridss.nf
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ process run_assembly_GRIDSS {
script:
otherjvmheap = 4.GB
gridss_otherjvmheap = "${otherjvmheap.toGiga()}g"
gridss_jvmheap = "${(task.memory - gridss_otherjvmheap).toGiga()}g"
gridss_jvmheap = "${(task.memory - otherjvmheap).toGiga()}g"
gridss_jar = "/usr/local/share/gridss-${params.gridss_version}-1/gridss.jar"
output_filename = generate_standard_filename(
"GRIDSS2-${params.gridss_version}",
Expand Down

0 comments on commit 630b1e1

Please sign in to comment.