nf-core / modules

Repository to host tool-specific module files for the Nextflow DSL2 community!
https://nf-co.re/modules
MIT License
276 stars 690 forks source link

samtools/reheader: Fix bug causing output name to be incorrectly evaluated #5887

Closed tkchafin closed 3 months ago

tkchafin commented 3 months ago

Just a simple bug fix. When supplying a prefix to SAMTOOLS_REHEADER, this was not being used to evaluate if input/output files were the same to trigger the error message.

PR checklist

Closes #XXX