diff --git a/src/nf_modules/bowtie/mapping_paired.nf b/src/nf_modules/bowtie/mapping_paired.nf index ae533a410b683bc1c88644e46c4673a557070e82..46c2cd843317c3cb83feffb54c3ee8c883951b11 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 ${file_id}_bowtie_report_tmp.txt > ${file_id}_bowtie_report.txt +tail -n 15 ${pair_id}_bowtie_report_tmp.txt > ${pair_id}_bowtie_report.txt """ } diff --git a/src/nf_modules/bowtie2/mapping_paired.nf b/src/nf_modules/bowtie2/mapping_paired.nf index 2a97ed6259f98b11f439f7c2c2cd8d63ae192f1c..bd03c7c386121880233a8b7a57cedb3fea0655e1 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 ${file_id}_bowtie2_report_tmp.txt > ${file_id}_bowtie2_report.txt +tail -n 15 ${pair_id}_bowtie2_report_tmp.txt > ${pair_id}_bowtie2_report.txt """ }