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

kb: remove collect() call

parent 7ccc789d
No related branches found
No related tags found
No related merge requests found
...@@ -101,13 +101,13 @@ workflow count { ...@@ -101,13 +101,13 @@ workflow count {
.set{ whitelist_optional } .set{ whitelist_optional }
switch(params.kb_protocol) { switch(params.kb_protocol) {
case "marsseq": case "marsseq":
split(fastq, config.collect()) split(fastq, config)
kb_marseq(index.collect(), split.out.fastq.view(), transcript_to_gene, whitelist_optional) kb_marseq(index, split.out.fastq.view(), transcript_to_gene, whitelist_optional)
kb_marseq.out.counts.set{res_counts} kb_marseq.out.counts.set{res_counts}
kb_marseq.out.report.set{res_report} kb_marseq.out.report.set{res_report}
break; break;
default: default:
kb_default(index.collect(), fastq, transcript_to_gene, whitelist_optional) kb_default(index, fastq, transcript_to_gene, whitelist_optional)
kb_default.out.counts.set{res_counts} kb_default.out.counts.set{res_counts}
kb_default.out.report.set{res_report} kb_default.out.report.set{res_report}
break; break;
...@@ -194,7 +194,7 @@ process kb_marseq { ...@@ -194,7 +194,7 @@ process kb_marseq {
} }
def whitelist_param = "" def whitelist_param = ""
if (whitelist_id != "NO WHITELIST"){ if (whitelist_id != "NO WHITELIST"){
whitelist_param = "-w ${white_list}" whitelist_param = "-w ${whitelist}"
} }
if (reads.size() == 2) if (reads.size() == 2)
......
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