profiles { docker { docker.temp = 'auto' docker.enabled = true process { withName: sort_bam { container = "sambamba:0.6.7" cpus = 4 } } } singularity { singularity.enabled = true process { withName: sort_bam { container = "file://bin/sambamba:0.6.7.sif" cpus = 4 } } } psmn { process{ withName: sort_bam { beforeScript = "source /usr/share/lmod/lmod/init/bash; module use ~/privatemodules" module = "sambamba/0.6.7" executor = "sge" clusterOptions = "-m e -cwd -V" cpus = 4 memory = "30GB" time = "24h" queue = 'E5-2670deb128A,E5-2670deb128B,E5-2670deb128C,E5-2670deb128D,E5-2670deb128E,E5-2670deb128F' penv = 'openmp16' } } } }