Skip to content

Commit

Permalink
Make MultiQC run locally on uppmax for an internet connection.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed Jun 12, 2017
1 parent 12a3889 commit c49bf61
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
27 changes: 21 additions & 6 deletions conf/uppmax-devel.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ vim: syntax=groovy
* for this queue.
*/

executor {
name = 'slurm'
queueSize = 1
}

process {
executor = 'slurm'
Expand All @@ -18,11 +22,11 @@ process {
memory = { 8.GB * task.attempt }
time = 1.h
clusterOptions = { "-A $params.project ${params.clusterOptions ?: ''}" }

errorStrategy = { ( task.exitStatus == 143 || task.exitStatus == 137 ) ? 'retry' : 'finish' }
maxRetries = 3
maxErrors = '-1'

// Environment modules and resource requirements
$fastqc {
module = ['bioinfo-tools', 'FastQC']
Expand Down Expand Up @@ -62,14 +66,15 @@ process {
memory = { 32.GB * task.attempt }
errorStrategy = { ( task.exitStatus == 143 || task.exitStatus == 137 ) ? 'retry' : 'ignore' }
}
// NB: Overwrite this in your user config file (~/.nextflow/config)
// NB: Overwrite this in a config file in the working directory (nextflow.config) or with -c
// if you have your own installation of MultiQC outside of the environment module system.
// eg: Add the line: params.$multiqc.module = ''
// eg: Add the line: process.$multiqc.module = []
$multiqc {
module = ['bioinfo-tools', 'MultiQC']
executor = 'local'
errorStrategy = { ( task.exitStatus == 143 || task.exitStatus == 137 ) ? 'retry' : 'ignore' }
}

$makeBwaMemIndex {
module = ['bioinfo-tools', 'bwa', 'bwa-meth', 'samtools/1.3']
}
Expand Down Expand Up @@ -103,7 +108,6 @@ process {
memory = { 48.GB * task.attempt }
}


}

params {
Expand Down Expand Up @@ -201,3 +205,14 @@ params {
}
}
}


timeline {
enabled = true
file = "${params.outdir}/NGI-MethylSeq_timeline.html"
}
trace {
enabled = true
file = "${params.outdir}/NGI-MethylSeq_trace.txt"
}

5 changes: 3 additions & 2 deletions conf/uppmax.config
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,12 @@ process {
time = { 6.h * task.attempt }
errorStrategy = { ( task.exitStatus == 143 || task.exitStatus == 137 ) ? 'retry' : 'ignore' }
}
// NB: Overwrite this in your user config file (~/.nextflow/config)
// NB: Overwrite this in a config file in the working directory (nextflow.config) or with -c
// if you have your own installation of MultiQC outside of the environment module system.
// eg: Add the line: params.$multiqc.module = ''
// eg: Add the line: process.$multiqc.module = []
$multiqc {
module = ['bioinfo-tools', 'MultiQC']
executor = 'local'
errorStrategy = { ( task.exitStatus == 143 || task.exitStatus == 137 ) ? 'retry' : 'ignore' }
}

Expand Down

0 comments on commit c49bf61

Please sign in to comment.