From 78cf7e3c843b85a36289fe4ac6a436649b12bbd8 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Fri, 7 Jun 2019 17:12:33 +0200
Subject: [PATCH] bowtie nf: change report max size from 15 line to 19

---
 src/nf_modules/bowtie/mapping_paired.nf  | 2 +-
 src/nf_modules/bowtie/mapping_single.nf  | 2 +-
 src/nf_modules/bowtie2/mapping_paired.nf | 2 +-
 src/nf_modules/bowtie2/mapping_single.nf | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/nf_modules/bowtie/mapping_paired.nf b/src/nf_modules/bowtie/mapping_paired.nf
index 46c2cd84..90b47ba4 100644
--- a/src/nf_modules/bowtie/mapping_paired.nf
+++ b/src/nf_modules/bowtie/mapping_paired.nf
@@ -47,7 +47,7 @@ samtools view -Sb - > ${pair_id}.bam
 if grep -q "Error" ${pair_id}_bowtie_report_tmp.txt; then
   exit 1
 fi
-tail -n 15 ${pair_id}_bowtie_report_tmp.txt > ${pair_id}_bowtie_report.txt
+tail -n 19 ${pair_id}_bowtie_report_tmp.txt > ${pair_id}_bowtie_report.txt
 """
 }
 
diff --git a/src/nf_modules/bowtie/mapping_single.nf b/src/nf_modules/bowtie/mapping_single.nf
index a86e424c..268bdfa8 100644
--- a/src/nf_modules/bowtie/mapping_single.nf
+++ b/src/nf_modules/bowtie/mapping_single.nf
@@ -45,6 +45,6 @@ samtools view -Sb - > ${file_id}.bam
 if grep -q "Error" ${file_id}_bowtie_report_tmp.txt; then
   exit 1
 fi
-tail -n 15 ${file_id}_bowtie_report_tmp.txt > ${file_id}_bowtie_report.txt
+tail -n 19 ${file_id}_bowtie_report_tmp.txt > ${file_id}_bowtie_report.txt
 """
 }
diff --git a/src/nf_modules/bowtie2/mapping_paired.nf b/src/nf_modules/bowtie2/mapping_paired.nf
index bd03c7c3..225508d8 100644
--- a/src/nf_modules/bowtie2/mapping_paired.nf
+++ b/src/nf_modules/bowtie2/mapping_paired.nf
@@ -41,7 +41,7 @@ samtools view -Sb - > ${pair_id}.bam
 if grep -q "Error" ${pair_id}_bowtie2_report_tmp.txt; then
   exit 1
 fi
-tail -n 15 ${pair_id}_bowtie2_report_tmp.txt > ${pair_id}_bowtie2_report.txt
+tail -n 19 ${pair_id}_bowtie2_report_tmp.txt > ${pair_id}_bowtie2_report.txt
 """
 }
 
diff --git a/src/nf_modules/bowtie2/mapping_single.nf b/src/nf_modules/bowtie2/mapping_single.nf
index a264cb72..b5bfff2b 100644
--- a/src/nf_modules/bowtie2/mapping_single.nf
+++ b/src/nf_modules/bowtie2/mapping_single.nf
@@ -41,6 +41,6 @@ samtools view -Sb - > ${file_id}.bam
 if grep -q "Error" ${file_id}_bowtie2_report_tmp.txt; then
   exit 1
 fi
-tail -n 15 ${file_id}_bowtie2_report_tmp.txt > ${file_id}_bowtie2_report.txt
+tail -n 19 ${file_id}_bowtie2_report_tmp.txt > ${file_id}_bowtie2_report.txt
 """
 }
-- 
GitLab