Commit b27ff701 authored by Tamara Hodgetts's avatar Tamara Hodgetts
Browse files

included resources.config with process_min and process_ultralow labels

parent fb403f62
Loading
Loading
Loading
Loading

conf/resources.config

0 → 100644
+21 −0
Original line number Diff line number Diff line
/*
========================================================================================
    nf-core/cutandrun Nextflow resource config file
========================================================================================
    Minimal and process-specific resource allocation.
----------------------------------------------------------------------------------------
*/

process {
    withLabel:process_min {
        cpus   = { check_max( 1     * task.attempt, 'cpus'    ) }
        memory = { check_max( 2.GB * task.attempt, 'memory'  ) }
        time   = { check_max( 1.h   * task.attempt, 'time'    ) }
    }
    
    withLabel:process_ultralow {
        cpus   = { check_max( 2     * task.attempt, 'cpus'    ) }
        memory = { check_max( 8.GB * task.attempt, 'memory'  ) }
        time   = { check_max( 4.h   * task.attempt, 'time'    ) }
    }
}
 No newline at end of file