From ade97af35ae0bd96180b488f33c7b18c872880e4 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Thu, 25 Feb 2021 10:00:48 +0100
Subject: [PATCH] bwa: fix bwa_mem_R call

---
 src/nf_modules/bwa/main.nf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nf_modules/bwa/main.nf b/src/nf_modules/bwa/main.nf
index 42cd6077..67ab9227 100644
--- a/src/nf_modules/bwa/main.nf
+++ b/src/nf_modules/bwa/main.nf
@@ -38,7 +38,7 @@ process mapping_fastq {
   script:
 """
 bwa mem -t ${task.cpus} \
--R ${bwa_mem_R} \
+-R ${params.bwa_mem_R} \
 ${index_id} ${reads[0]} ${reads[1]} 2> \
   ${file_id}_bwa_report.txt | \
   samtools view -@ ${task.cpus} -Sb - > ${file_id}.bam
-- 
GitLab