diff --git a/src/nf_modules/hisat2/main.nf b/src/nf_modules/hisat2/main.nf index 34492a114b85a8606affeb19d9db0ece5d0c0da5..5d7ac4916a93795378d5636397712533687f5eb4 100644 --- a/src/nf_modules/hisat2/main.nf +++ b/src/nf_modules/hisat2/main.nf @@ -76,9 +76,9 @@ process mapping_fastq { -x ${index_id} \ -1 ${reads[0]} \ -2 ${reads[1]} 2> \ - ${file_prefix}_ht2_mapping_report_tmp.txt \ + ${file_prefix}_ht2_mapping_report.txt \ | samtools view -@ ${task.cpus} -bS - 2>> \ - ${file_prefix}_ht2_mapping_report_tmp.txt \ + ${file_prefix}_ht2_mapping_report.txt \ | samtools sort -@ ${task.cpus} -o ${file_prefix}.bam - 2>> \ ${file_prefix}_ht2_mapping_report.txt @@ -92,7 +92,7 @@ process mapping_fastq { -p ${task.cpus} \ -x ${index_id} \ -U ${reads} 2> \ - ${file_prefix}_ht2_mapping_report_tmp.txt \ + ${file_prefix}_ht2_mapping_report.txt \ | samtools view -@ ${task.cpus} -bS - 2>> \ ${file_prefix}_ht2_mapping_report.txt \ | samtools sort -@ ${task.cpus} -o ${file_prefix}.bam - 2>> \