profiles { docker { docker.temp = 'auto' docker.enabled = true process { withName: index_fasta { container = "lbmc/bwa:0.7.17" cpus = 4 } } } singularity { singularity.enabled = true singularity.cacheDir = "./bin/" process { withName: index_fasta { container = "lbmc/bwa:0.7.17" cpus = 4 } } } psmn{ process{ withName: index_fasta { beforeScript = "source $baseDir/.conda_psmn.sh" conda = "$baseDir/.conda_envs/bwa_0.7.17" 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_conda { process{ withName: index_fasta { beforeScript = "source /sps/lbmc/common/miniconda3/init.sh" conda = "/sps/lbmc/common/miniconda3/envs/bwa_0.7.17" scratch = true stageInMode = "copy" stageOutMode = "rsync" executor = "sge" clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n\ " cpus = 1 queue = 'huge' } } } ccin2p3 { singularity.enabled = true singularity.cacheDir = "/sps/lbmc/common/singularity/" singularity.runOptions = "--bind /pbs,/sps,/scratch" process{ withName: index_fasta { container = "lbmc/bwa:0.7.17" scratch = true stageInMode = "copy" stageOutMode = "rsync" executor = "sge" clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n" cpus = 1 queue = 'huge' } } } }