Skip to content

Commit

Permalink
Add param to configure global repository for containers
Browse files Browse the repository at this point in the history
  • Loading branch information
emi80 committed Jun 14, 2024
1 parent 7fb1865 commit 899598e
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion modules/bamStats/bamstats/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.bamstatsVersion = '0.3.5--he881be0_0'
params.container = "quay.io/biocontainers/bamstats:${params.bamstatsVersion}"
params.container = "${params.containerRepo}/bamstats:${params.bamstatsVersion}"
params.bamStatsMaxBuf = '1000000'
params.bamStatsLogLevel = 'info'

Expand Down
4 changes: 2 additions & 2 deletions modules/bigwig/star/main.nf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
params.starVersion = "2.4.0j--h9ee0642_2"
// params.starVersion = "2.7.10a--h9ee0642_0"
params.ucscVersion = '455--h2a80c09_1'
params.starContainer = "quay.io/biocontainers/star:${params.starVersion}"
params.bgtobwContainer = "quay.io/biocontainers/ucsc-bedgraphtobigwig:${params.ucscVersion}"
params.starContainer = "${params.containerRepo}/star:${params.starVersion}"
params.bgtobwContainer = "${params.containerRepo}/ucsc-bedgraphtobigwig:${params.ucscVersion}"
params.wigRefPrefix = '-'

process signal {
Expand Down
2 changes: 1 addition & 1 deletion modules/fastaIndex/samtools/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.samtoolsVersion = '1.19.2--h50ea8bc_1'
params.container = "quay.io/biocontainers/samtools:${params.samtoolsVersion}"
params.container = "${params.containerRepo}/samtools:${params.samtoolsVersion}"

process fastaIndex {

Expand Down
6 changes: 3 additions & 3 deletions modules/inferExp/rseqc/main.nf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
params.rseqcVersion = '2.6.4--py27hf8a1672_2'
params.ucscVersion = '447--h2a80c09_1'
params.gtfToGenePredContainer = "quay.io/biocontainers/ucsc-gtftogenepred:${params.ucscVersion}"
params.genePredContainer = "quay.io/biocontainers/ucsc-genepredtobed:${params.ucscVersion}"
params.rseqcContainer = "quay.io/biocontainers/rseqc:${params.rseqcVersion}"
params.gtfToGenePredContainer = "${params.containerRepo}/ucsc-gtftogenepred:${params.ucscVersion}"
params.genePredContainer = "${params.containerRepo}/ucsc-genepredtobed:${params.ucscVersion}"
params.rseqcContainer = "${params.containerRepo}/rseqc:${params.rseqcVersion}"
params.inferExpThreshold = '0.8'

process gtfToGenePred {
Expand Down
2 changes: 1 addition & 1 deletion modules/mapping/star/main.nf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
params.starVersion = "2.4.0j--h9ee0642_2"
// params.starVersion = "2.7.10a--h9ee0642_0"
params.container = "quay.io/biocontainers/star:${params.starVersion}"
params.container = "${params.containerRepo}/star:${params.starVersion}"

def getIndexBases(genome) {
int size = genome.size()
Expand Down
2 changes: 1 addition & 1 deletion modules/markdup/sambamba/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.sambambaVersion = '0.7.1--h984e79f_3'
params.container = "quay.io/biocontainers/sambamba:${params.sambambaVersion}"
params.container = "${params.containerRepo}/sambamba:${params.sambambaVersion}"

process markdup {

Expand Down
2 changes: 1 addition & 1 deletion modules/mergeBam/sambamba/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.sambambaVersion = '0.7.1--h984e79f_3'
params.container = "quay.io/biocontainers/sambamba:${params.sambambaVersion}"
params.container = "${params.containerRepo}/sambamba:${params.sambambaVersion}"

process mergeBam {

Expand Down
2 changes: 1 addition & 1 deletion modules/mergeBam/samtools/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.samtoolsVersion = '1.19.2--h50ea8bc_1'
params.container = "quay.io/biocontainers/samtools:${params.samtoolsVersion}"
params.container = "${params.containerRepo}/samtools:${params.samtoolsVersion}"

process mergeBam {

Expand Down
2 changes: 1 addition & 1 deletion modules/quantification/rsem/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.rsemVersion = '1.3.3--pl5321h0033a41_7'
params.container = "quay.io/biocontainers/rsem:${params.rsemVersion}"
params.container = "${params.containerRepo}/rsem:${params.rsemVersion}"
params.rsemCalcCI = false
params.rsemPlotModel = false

Expand Down
2 changes: 1 addition & 1 deletion modules/sortBam/sambamba/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.sambambaVersion = '0.7.1--h984e79f_3'
params.container = "quay.io/biocontainers/sambamba:${params.sambambaVersion}"
params.container = "${params.containerRepo}/sambamba:${params.sambambaVersion}"

process sortBam {
tag "${sample}"
Expand Down
2 changes: 1 addition & 1 deletion modules/sortBam/samtools/main.nf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
params.samtoolsVersion = '1.19.2--h50ea8bc_1'
params.container = "quay.io/biocontainers/samtools:${params.samtoolsVersion}"
params.container = "${params.containerRepo}/samtools:${params.samtoolsVersion}"

process sortBam {
tag "${sample}"
Expand Down
2 changes: 2 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ params {
annotation = "$baseDir/data/annotation.gtf"
}

params.containerRepo = "public.ecr.aws/biocontainers"

// Docker is disabled by default and uses the following options when activated
docker {
sudo = false
Expand Down

0 comments on commit 899598e

Please sign in to comment.