CBE Configuration

All nf-core pipelines have been successfully configured for use on the CLIP BATCH ENVIRONMENT (CBE) cluster at the Vienna BioCenter (VBC).

To use, run the pipeline with -profile cbe. This will download and launch the cbe.config which has been pre-configured with a setup suitable for the CBE cluster. Using this profile, a docker image containing all of the required software will be downloaded, and converted to a Singularity image before execution of the pipeline.

Before running the pipeline you will need to load Nextflow using the environment module system on CBE. You can do this by issuing the commands below:

## Load Nextflow environment module
module purge
module load nextflow/21.10.6

A local copy of the AWS-iGenomes resource has been made available on CBE so you should be able to run the pipeline against any reference available in the igenomes.config specific to the nf-core pipeline. You can do this by simply using the --genome <GENOME_ID> parameter.

NB: You will need an account to use the HPC cluster on CBE in order to run the pipeline. If in doubt contact IT. NB: Nextflow will need to submit the jobs via the job scheduler to the HPC cluster and as such the commands above will have to be executed on one of the login nodes. If in doubt contact IT.

Config file

See config file on GitHub

cbe.config
//Profile config names for nf-core/configs
params {
    config_profile_description = 'CLIP BATCH ENVIRONMENT (CBE) cluster profile provided by nf-core/configs'
    config_profile_contact     = 'Patrick Hüther (@phue)'
    config_profile_url         = 'https://clip.science'
}
 
process {
        resourceLimits = [
            memory: 1800.GB,
            cpus: 36,
            time: 14.d
        ]
    executor       = 'slurm'
    queue          = { task.memory <= 120.GB ? 'c' : 'm' }
    module         = ['build-env/.f2021', 'build-env/f2021', 'anaconda3/2021.11']
    clusterOptions = { (task.queue == 'g' ? '--gres gpu:1 ' : '') << (task.queue == 'c' & task.time <= 1.h ? '--qos rapid' : (task.time <= 8.h ? '--qos short' : (task.time <= 48.h ? '--qos medium' : '--qos long'))) }
}
 
singularity {
    enabled  = true
    cacheDir = '/resources/containers'
}
 
params {
    params.max_time   = 14.d
    params.max_cpus   = 36
    params.max_memory = 1800.GB
    igenomes_base     = '/resources/references/igenomes'
}