diff --git a/src/nf_modules/kb/main.nf b/src/nf_modules/kb/main.nf index e5895ba68f4222fcb15365819bcb68b278fe38d1..32297d25aaa5e55fe57c6294ce09d65bce1bea59 100644 --- a/src/nf_modules/kb/main.nf +++ b/src/nf_modules/kb/main.nf @@ -102,7 +102,7 @@ workflow count { switch(params.kb_protocol) { case "marsseq": 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.report.set{res_report} break; @@ -210,4 +210,17 @@ process kb_marseq { -o ${file_prefix} \ ${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