From 3cfd27b21dfbfe507306f6c86bda452344264790 Mon Sep 17 00:00:00 2001 From: Laurent Modolo <laurent.modolo@ens-lyon.fr> Date: Thu, 29 Apr 2021 12:24:28 +0200 Subject: [PATCH] bwa: fix index variable --- src/nf_modules/bwa/main.nf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nf_modules/bwa/main.nf b/src/nf_modules/bwa/main.nf index 07bf30d3..dec6886c 100644 --- a/src/nf_modules/bwa/main.nf +++ b/src/nf_modules/bwa/main.nf @@ -66,7 +66,7 @@ bwa_mem_R = "@RG\\tID:${library}\\tSM:${library}\\tLB:lib_${library}\\tPL:illumi bwa mem -t ${task.cpus} \ ${params.mapping_fastq} \ -R '${bwa_mem_R}' \ -${index_id} ${reads[0]} ${reads[1]} 2> \ +${index} ${reads[0]} ${reads[1]} 2> \ ${file_prefix}_bwa_report.txt | \ samtools view -@ ${task.cpus} -Sb - > ${file_prefix}.bam """ @@ -75,7 +75,7 @@ ${index_id} ${reads[0]} ${reads[1]} 2> \ bwa mem -t ${task.cpus} \ ${params.mapping_fastq} \ -R '${bwa_mem_R}' \ -${index_id} ${reads} 2> \ +${index} ${reads} 2> \ ${file_prefix}_bwa_report.txt | \ samtools view -@ ${task.cpus} -Sb - > ${file_prefix}.bam """ -- GitLab