When running the pipeline in my environment (Red Hat Enterprise Linux Server release 6.5 (Santiago) with 24 CPUs available 49402264k memory), I am running into trouble with the BOILERPLATE_HEADER cleanup step of process_fastq.bash:
process_fastq.bash
160 #begin cleanup
161 rm -f ${BOILERPLATE_HEADER}
Here are some debug logging excerpts to illustrate the issue:
bcftools view -O z -o ./tutorialTest6B/final/454Reads.MID8.fastq.vcf.gz
cat: /home2/gturenchalk2/tmp/boilerplate_header.bcl: No such file or directory
(the above shows that the removal step is being called prior to the completion of all jobs so that when an attempt to include a "cat" of the header file as part of a string of piped commands fails)
My guess is that the script is not waiting for the jobs to finish and the cleanup step is being deleted by the first job to finish. Remaining jobs still needing to use the file will have already passed the header creation test point and end up failing to find the header file they are expecting.
When running the pipeline in my environment (Red Hat Enterprise Linux Server release 6.5 (Santiago) with 24 CPUs available 49402264k memory), I am running into trouble with the BOILERPLATE_HEADER cleanup step of process_fastq.bash:
process_fastq.bash 160 #begin cleanup 161 rm -f ${BOILERPLATE_HEADER} Here are some debug logging excerpts to illustrate the issue:
---//---
---//---
My guess is that the script is not waiting for the jobs to finish and the cleanup step is being deleted by the first job to finish. Remaining jobs still needing to use the file will have already passed the header creation test point and end up failing to find the header file they are expecting.