Skip to content

Commit

Permalink
Re-add MEGAHIT memory
Browse files Browse the repository at this point in the history
  • Loading branch information
jfy133 committed Oct 22, 2024
1 parent 639addb commit ec318c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ process {
}

withName: MEGAHIT {
ext.args = params.megahit_options ? params.megahit_options + "-m ${task.memory}" : "-m ${task.memory}"
ext.args = { params.megahit_options ? params.megahit_options + "-m ${task.memory.toBytes()}" : "-m ${task.memory.toBytes()}" }
ext.prefix = { "MEGAHIT-${meta.id}" }
publishDir = [path: { "${params.outdir}/Assembly/MEGAHIT" }, mode: params.publish_dir_mode, pattern: "*.{fa.gz,log}"]
}
Expand Down

0 comments on commit ec318c7

Please sign in to comment.