profiles { docker { docker.temp = 'auto' docker.enabled = true process { withName: mapping_fastq { container = "bowtie2:2.3.4.1" cpus = 4 } } } singularity { singularity.enabled = true process { withName: mapping_fastq { container = "file://bin/bowtie2:2.3.4.1.img" cpus = 4 } } } psmn { process{ withName: mapping_fastq { beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" module = "bowtie2/2.3.4.1:samtools/1.7" executor = "sge" clusterOptions = "-cwd -V" cpus = 16 memory = "30GB" time = "24h" queue = 'E5-2670deb128A,E5-2670deb128B,E5-2670deb128C,E5-2670deb128D,E5-2670deb128E,E5-2670deb128F' penv = 'openmp16' } } } ccin2p3 { process{ withName: mapping_fastq { beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/bowtie2/2.3.4.1/:/usr/bin:$PATH" scratch = true stageInMode = "copy" stageOutMode = "rsync" executor = "sge" clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n" cpus = 1 memory = "10GB" time = "24h" } } } }