Bioinfo Genotoul Configuration

All nf-core pipelines have been successfully configured for use on the Bioinfo Genotoul cluster at the INRAe toulouse.

To use, run the pipeline with -profile genotoul. This will download and launch the genotoul.config which has been pre-configured with a setup suitable for the Bioinfo Genotoul 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. Images are stored for all users in following directory /usr/local/bioinfo/src/NextflowWorkflows/singularity-img/.

Running the workflow ib the Genologin cluster

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

Once connected on our frontal node :

# Login to a compute node
srun --mem=4G --pty bash

Setup default nextflow and singularity home directory (to be done only one time):

sh /usr/local/bioinfo/src/NextflowWorkflows/create_nfx_dirs.sh

Load environment :

module purge
module load bioinfo/NextflowWorkflows/nfcore-Nextflow-v23.10.0

Try a test workflow (for example the methylseq workflow) :

nextflow run nf-core/methylseq -profile genotoul,test

Create launch script nfcore-methylseq.sh :

#!/bin/bash
#SBATCH -p workq
#SBATCH -t 1:00:00  #time in hour
#SBATCH --mem=4G
#SBATCH --mail-type=BEGIN,END,FAIL
 
module load bioinfo/NextflowWorkflows/nfcore-Nextflow-v23.10.0
nextflow run nf-core/methylseq -profile genotoul,test

Launch on the cluster with sbatch:

sbatch nfcore-methylseq.sh

Mounted directory

By default, available mount points are:

  • /bank
  • /home
  • /save
  • /work

To have access to specific other mount point you can add a config profile file with option -profile and which contain:

singularity.runOptions = '-B /directory/to/mount'

Databanks

A local copy of several genomes are available in /bank directory. See our databank page to search for your favorite genome.

NB: You will need an account to use the HPC cluster on Genotoul in order to run the pipeline. If in doubt see http://bioinfo.genotoul.fr/.

Config file

See config file on GitHub

genotoul.config
//Profile config names for nf-core/configs
params {
    config_profile_description = 'The Genotoul cluster profile'
    config_profile_contact     = 'support.bioinfo.genotoul@inra.fr'
    config_profile_url         = 'http://bioinfo.genotoul.fr/'
}
 
singularity {
    // need one image per execution
    enabled    = true
    runOptions = '-B /bank -B /work -B /save -B /home'
}
 
process {
    resourceLimits = [
        memory: 120.GB,
        cpus: 48,
        time: 96.h
    ]
    executor = 'slurm'
}
 
params {
    save_reference  = true
    igenomes_ignore = true
    igenomesIgnore  = true
    //deprecated
    // Max resources requested by a normal node on genotoul.
    max_memory      = 120.GB
    max_cpus        = 48
    max_time        = 96.h
}