profiles { docker { docker.temp = 'auto' docker.enabled = true process { withname: build_synthetic_bed { container = "bedtools:2.25.0" } withname: fasta_from_bed { container = "bedtools:2.25.0" } withname: index_fasta { container = "bowtie2:2.3.4.1" } withname: mapping_fastq_paired { container = "bowtie2:2.3.4.1" } withname: bam_2_fastq_paired { container = "samtools:1.7" } withname: sort_bam_paired { container = "samtools:1.7" } withname: index_bam_paired { container = "samtools:1.7" } withname: mapping_fastq_single { container = "bowtie2:2.3.4.1" } withname: bam_2_fastq_single { container = "samtools:1.7" } withname: sort_bam_single { container = "samtools:1.7" } withname: index_bam_single { container = "samtools:1.7" } } } psmn { process{ withname: build_synthetic_bed { beforeScript = "module purge; module load BEDtools/2.25.0" executor = "psmn" cpus = 1 memory = "5GB" time = "6h" queueSize = 1000 pollInterval = '60sec' queue = 'h6-E5-2667v4deb128' penv = 'openmp8' } withname: fasta_from_bed { beforeScript = "module purge; module load BEDtools/2.25.0" executor = "psmn" cpus = 1 memory = "5GB" time = "6h" queueSize = 1000 pollInterval = '60sec' queue = 'h6-E5-2667v4deb128' penv = 'openmp8' } withname: index_fasta { beforeScript = "module purge; module load Bowtie2/2.3.4.1" } withname: mapping_fastq_paired { beforeScript = "module purge; module load SAMtools/1.7; module load Bowtie2/2.3.4.1" } withname: bam_2_fastq_paired { beforeScript = "module purge; module load SAMtools/1.7" } withname: sort_bam_paired { beforeScript = "module purge; module load SAMtools/1.7" } withname: index_bam_paired { beforeScript = "module purge; module load SAMtools/1.7" } withname: mapping_fastq_single { beforeScript = "module purge; module load SAMtools/1.7; module load Bowtie2/2.3.4.1" } withname: bam_2_fastq_single { beforeScript = "module purge; module load SAMtools/1.7" } withname: sort_bam_single { beforeScript = "module purge; module load SAMtools/1.7" } withname: index_bam_single { beforeScript = "module purge; module load SAMtools/1.7" } } } }