nf-core/configs: NYU HPC Configuration

All nf-core pipelines have been successfully configured for use on the HPC Cluster at New York University.

To use, run the pipeline with -profile nyu_hpc. This will download and launch the nyu_hpc.config which has been pre-configured with a setup suitable for the NYU HPC cluster.

Before running the pipeline you will need to load Nextflow using the environment module system on NYU HPC.

## See available nextflow versions
$ module avail nextflow
--- /share/apps/modulefiles ----
  nextflow/25.04.7    nextflow/25.10.2
 
## Load desired nextflow
$ module load nextflow/25.10.2

Config file

See config file on GitHub

params {
    config_profile_description = 'New York University HPC profile provided by nf-core/configs.'
    config_profile_contact     = 'HPC@nyu.edu'
    config_profile_url         = 'https://hpc.nyu.edu'

    // Resource limits
    max_memory                 = 3000.GB
    max_cpus                   = 128
    max_time                   = 7.d
}

singularity {
    enabled    = true
    runOptions = '-B /scratch,/state/partition1,/share/apps,/projects'
}

process {
    resourceLimits = [
	    memory:  params.max_memory,
        cpus:   params.max_cpus,
        time:   params.max_time
    ]
    executor       = 'slurm'
    clusterOptions = { 
        "--account=${System.getenv('SLURM_JOB_ACCOUNT')} --export=NONE" 
    }
    maxRetries     = 3
    errorStrategy  = { task.attempt <= 3 ? 'retry' : 'finish' }
    cache          = 'lenient'
}

executor {
    queueSize       = 1900
    submitRateLimit = '20 sec'
}