Hello everyone
I observed an issue when flagstat is incorporated in a workflow in which the BAM file it works on is also used by another program (generate pileup for instance) and is NOT the input dataset (generated by sam to bam within the workflow).
I tested it with the local job runner and with TORQUE (with the pbs scheduler and Maui).
- With the local job runner, it works just fine
- With TORQUE I get the following error message: pbs_submit failed, PBS error 15033: No free connections
Surprisingly, other non-linear workflows work fine. I only observed this error with flagstat. Moreover, when flagstat is in a linear workflow, it works fine too. Ad if it is non-linear but the input dataset is the bam file flagstat works on, it works fine too.
Please find attached one of the test workflow where I found the error. The input dataset is a sam file.
Any clue?
Cheers, LA