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

bowtie nf: change report max size from 15 line to 19

parent da3831bb
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ samtools view -Sb - > ${pair_id}.bam ...@@ -47,7 +47,7 @@ samtools view -Sb - > ${pair_id}.bam
if grep -q "Error" ${pair_id}_bowtie_report_tmp.txt; then if grep -q "Error" ${pair_id}_bowtie_report_tmp.txt; then
exit 1 exit 1
fi 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
""" """
} }
......
...@@ -45,6 +45,6 @@ samtools view -Sb - > ${file_id}.bam ...@@ -45,6 +45,6 @@ samtools view -Sb - > ${file_id}.bam
if grep -q "Error" ${file_id}_bowtie_report_tmp.txt; then if grep -q "Error" ${file_id}_bowtie_report_tmp.txt; then
exit 1 exit 1
fi 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
""" """
} }
...@@ -41,7 +41,7 @@ samtools view -Sb - > ${pair_id}.bam ...@@ -41,7 +41,7 @@ samtools view -Sb - > ${pair_id}.bam
if grep -q "Error" ${pair_id}_bowtie2_report_tmp.txt; then if grep -q "Error" ${pair_id}_bowtie2_report_tmp.txt; then
exit 1 exit 1
fi 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
""" """
} }
...@@ -41,6 +41,6 @@ samtools view -Sb - > ${file_id}.bam ...@@ -41,6 +41,6 @@ samtools view -Sb - > ${file_id}.bam
if grep -q "Error" ${file_id}_bowtie2_report_tmp.txt; then if grep -q "Error" ${file_id}_bowtie2_report_tmp.txt; then
exit 1 exit 1
fi 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
""" """
} }
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