Skip to content
Snippets Groups Projects
Verified Commit 260389ed authored by Laurent Modolo's avatar Laurent Modolo
Browse files

kb: add -m option to control memory

parent 3cfd27b2
No related branches found
No related tags found
No related merge requests found
......@@ -185,6 +185,7 @@ process kb_marseq {
tuple val(file_id), path("*_report.txt"), emit: report
script:
memory = "${task.memory}" - ~/\s*GB/
if (file_id instanceof List){
file_prefix = file_id[0]
} else {
......@@ -199,7 +200,7 @@ process kb_marseq {
"""
mkdir ${file_prefix}
kb count -t ${task.cpus} \
-m ${task.memory} \
-m ${memory} \
-i ${index} \
-g ${transcript_to_gene} \
${whitelist_param} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment