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

flexi_splitter: try to fix bug

parent d00b6bbe
No related branches found
No related tags found
No related merge requests found
......@@ -30,10 +30,10 @@ process split {
if (reads.size() == 2)
"""
flexi_splitter ${params.split} -f ${reads[0]} ${reads[1]} -c ${config} -o split
flexi_splitter ${params.split} -n 2 -f ${reads[0]} ${reads[1]} -o split -c ${config}
"""
else
"""
flexi_splitter ${params.split} -f ${reads[0]} -c ${config} -o split
flexi_splitter ${params.split} -n 1 -f ${reads[0]} -o split -c ${config}
"""
}
......@@ -137,6 +137,7 @@ process kb_default {
tuple val(file_id), path("*_report.txt"), emit: report
script:
def kb_memory = "${task.memory}" - ~/GB/
if (file_id instanceof List){
file_prefix = file_id[0]
} else {
......@@ -151,7 +152,7 @@ process kb_default {
"""
mkdir ${file_prefix}
kb count -t ${task.cpus} \
-m ${task.memory} \
-m ${kb_memory} \
-i ${index} \
-g ${transcript_to_gene} \
${whitelist_param} \
......@@ -185,7 +186,7 @@ process kb_marseq {
tuple val(file_id), path("*_report.txt"), emit: report
script:
memory = "${task.memory}" - ~/\s*GB/
def kb_memory = "${task.memory}" - ~/GB/
if (file_id instanceof List){
file_prefix = file_id[0]
} else {
......@@ -200,7 +201,7 @@ process kb_marseq {
"""
mkdir ${file_prefix}
kb count -t ${task.cpus} \
-m ${memory} \
-m ${kb_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