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

kb: remove view()

parent 1852fe84
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ workflow count { ...@@ -102,7 +102,7 @@ workflow count {
switch(params.kb_protocol) { switch(params.kb_protocol) {
case "marsseq": case "marsseq":
split(fastq, config) split(fastq, config)
kb_marseq(index.collect(), split.out.fastq.view(), transcript_to_gene, whitelist_optional) kb_marseq(index.collect(), split.out.fastq, 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;
...@@ -210,4 +210,17 @@ process kb_marseq { ...@@ -210,4 +210,17 @@ process kb_marseq {
-o ${file_prefix} \ -o ${file_prefix} \
${reads[0]} ${reads[1]} &> ${file_prefix}_kb_mapping_report.txt ${reads[0]} ${reads[1]} &> ${file_prefix}_kb_mapping_report.txt
""" """
else
"""
mkdir ${file_prefix}
kb count -t ${task.cpus} \
-m ${kb_memory} \
-i ${index} \
-g ${transcript_to_gene} \
${whitelist_param} \
${params.count} \
-x 1,0,6:1,6,14:1,14,0
-o ${file_prefix} \
${reads} &> ${file_prefix}_kb_mapping_report.txt
"""
} }
\ No newline at end of file
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