nf-core / fastquorum

Pipeline to produce consensus reads using unique molecular indexes/barcodes (UMIs)
https://nf-co.re/fastquorum
MIT License
20 stars 9 forks source link

The retry strategy used for memory / cpu usage in FastQC and consensus reads is brittle #73

Open lbeltrame opened 4 weeks ago

lbeltrame commented 4 weeks ago

Description of the bug

The default values (which multiply the requested RAM and CPU usage by retry strategy) are still low for common use cases (such as enrichment in ctDNA samples, which are fairly high depth), and at least in our cluster they consistently fail because the process is killed as it requests more memory than allocated.

For example:

Setting a maxRetries in our custom configuration (which we use) > 2 does not seem to have any effect. The only solution was to manually edit the configuration and bump the memory requirements.

cc @LMannarino @rikizad

Command used and terminal output

No response

Relevant files

No response

System information

Nextflow version: 24.04.2 Hardware: HPC Executor: SLURM Container engine: Apptainer OS: Debian Buster fastquorum version: latest dev