CSB5 / lofreq

LoFreq Star: Sensitive variant calling from sequencing data
http://csb5.github.io/lofreq/
Other
97 stars 30 forks source link

lofreq call-parallel will hang forever on subprocess error #128

Open tfmorris opened 2 years ago

tfmorris commented 2 years ago

If one of the subprocesses errors (e.g. gets killed by the OOM killer), the parent process will hang forever because there's no timeout on the pool.join() here: https://github.com/CSB5/lofreq/blob/007a8ba2adc71797990e2fe0f8a869d7b0ea258e/src/scripts/lofreq2_call_pparallel.py#L662

I suggest adding a timeout, even a very large one, to the join.