Open andpet0101 opened 1 year ago
Hi, thank you for spotting that ! We are currently in the process of making major changes in terms of portability, and we wil also take into account the problems your raised in the issues. I'll let you know when the modifications are done and merge into master.
Glad to hear!
Btw for the many bash scripts in the pipeline, I would suggest to include set -ef -o pipefail
at the beginning (https://www.nextflow.io/docs/edge/process.html, script). That should cause the pipeline on most of the bash errors.
The script
makeSSMultiQCReport_nextFlow.pl
callsbedtools
to get the number of reads in known hotspots. However, ifbedtools
fails for some reason (e.g. not enough memory), the script itself does not fail. This will result in incorrect numbers (basically zero reads in hotspots). The script should check the return value of bedtools and fail if needed.Such checks might also be necessary for other scripts/parts of the code.