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

bowtie: nf fix pair_id var call

parent 92f8f605
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 ${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
""" """
} }
......
...@@ -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 ${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
""" """
} }
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