From 51c2a54399e0a743eccd38ca2536674e7ee979f2 Mon Sep 17 00:00:00 2001 From: Tobias Schraink Date: Wed, 17 Apr 2019 16:59:38 -0400 Subject: [PATCH] added nyu prince and bigpurple configs --- conf/bigpurple.config | 23 +++++++++++++++++++++++ conf/prince.config | 21 +++++++++++++++++++++ nfcore_custom.config | 2 ++ 3 files changed, 46 insertions(+) create mode 100644 conf/bigpurple.config create mode 100644 conf/prince.config diff --git a/conf/bigpurple.config b/conf/bigpurple.config new file mode 100644 index 0000000..b7850db --- /dev/null +++ b/conf/bigpurple.config @@ -0,0 +1,23 @@ +params { + config_profile_description = """ + NYU School of Medicine BigPurple cluster profile provided by nf-core/configs. + module load both singularity/3.1 and squashfs-tools/4.3 before running the pipeline with this profile! + Also consider running the pipeline on a compute node the first time, as it will be pulling the docker image, which will be converted into a singularity image, which is heavy on the login node. Subsequent runs can be done on the login node, as the docker image will only be pulled and converted once. By default the images will be stored in ./work/singularity + """.stripIndents() + config_profile_contact = 'Tobias Schraink (@tobsecret)' + config_profile_url = 'https://genome.med.nyu.edu/hpcf/wiki/Manual:Cluster_User_Guide' +} + +singularity { + enabled = true + autoMounts = true +} + +process { + beforeScript = """ + module load singularity/3.1 + module load squashfs-tools/4.3 + """ + .stripIndent() + executor = 'slurm' +} diff --git a/conf/prince.config b/conf/prince.config new file mode 100644 index 0000000..5fc07c6 --- /dev/null +++ b/conf/prince.config @@ -0,0 +1,21 @@ +params { + config_profile_description = """ + NYU prince cluster profile provided by nf-core/configs. + Please consider running the pipeline on a compute node the first time, as it will be pulling the docker image, which will be converted into a singularity image, which is heavy on the login node. Subsequent runs can be done on the login node, as the docker image will only be pulled and converted once. By default the images will be stored in ./work/singularity + """.stripIndent() + config_profile_contact = 'Tobias Schraink (@tobsecret)' + config_profile_url = 'https://wikis.nyu.edu/display/NYUHPC/Clusters+-+Prince' +} + +singularity { + enabled = true +} + +process { + beforeScript = """ + module load singularity/3.1.0 + module load squashfs/4.3 + """ + .stripIndent() + executor = 'slurm' +} diff --git a/nfcore_custom.config b/nfcore_custom.config index 61f43a9..7374fa0 100644 --- a/nfcore_custom.config +++ b/nfcore_custom.config @@ -26,6 +26,8 @@ profiles { uppmax_devel { includeConfig "${params.custom_config_base}/conf/uppmax.config"; includeConfig "${params.custom_config_base}/conf/uppmax-devel.config" } uppmax { includeConfig "${params.custom_config_base}/conf/uppmax.config" } uzh { includeConfig "${params.custom_config_base}/conf/uzh.config" } + prince { includeConfig "${params.custom_config_base}/conf/prince.config" } + bigpurple { includeConfig "${params.custom_config_base}/conf/bigpurple.config" } } // If user hostnames contain one of these substring and they are