Hello nextflow community,
When running my variant calling workflow on multiple samples (>100) on aws-batch, I get quite frequent errors in the form:
download failed: s3://<my-file>.fq.gz to ./<my-file>.fq.gz ("Connection broken: error(104, 'Connection reset by peer')", error(104, 'Connection reset by peer'))
Usually, in the retries the proceses succeeds.
If I understand correctly this happens due to some limit on the number of concurrent reads from s3.
What is the correct way to handle this issue?
Thanks in advance!