Skip to content

Commit

Permalink
Merge pull request #6 from wsjung/update_containers
Browse files Browse the repository at this point in the history
Update containers
  • Loading branch information
wsjung authored Feb 16, 2024
2 parents 9fac026 + 98767aa commit 4c8047b
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 12 deletions.
2 changes: 1 addition & 1 deletion modules/local/cma/cma/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process CMA {

label 'process_low'

container 'docker://jungwooseok/cma:1.2.7' // TODO: replace when released on bioconductor
container 'jungwooseok/cma:1.2.7' // TODO: replace when released on bioconductor

input:
path input_files // list of input files to CMA (to accomodate arbitrary number of files)
Expand Down
1 change: 0 additions & 1 deletion modules/local/cma/format_cma_input/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ process FORMAT_CMA_INPUT {

label 'process_medium'

// include an image docker/singularity from biocontainers
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/pandas:1.1.5' :
Expand Down
2 changes: 1 addition & 1 deletion modules/local/mea/go_analysis/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process GO_ANALYSIS {

label 'process_low'

container 'docker://jungwooseok/webgestalt:1.0.3'
container 'jungwooseok/webgestalt:1.0.3'
// TODO: requested BioContainers

input:
Expand Down
8 changes: 8 additions & 0 deletions modules/local/mea/merge_ora_and_summary/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: merge_ora_and_summary
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.8.3
- pandas=1.1.5
2 changes: 1 addition & 1 deletion modules/local/mea/merge_ora_and_summary/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process MERGE_ORA_AND_SUMMARY {

label 'process_low'

// container 'docker://jungwooseok/mea:1.0.0'
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/pandas:1.1.5' :
'quay.io/biocontainers/pandas:1.1.5' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/mea/pascal/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process RUN_PASCAL {

label 'process_low'

container 'docker://jungwooseok/mea_pascal:1.1'
container 'jungwooseok/mea_pascal:1.1'

input:
tuple val(module_id), path(geneScoreFile), path(moduleFile), path(goFile)
Expand Down
10 changes: 10 additions & 0 deletions modules/local/mea/postprocess/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: postprocess
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.8.3
- pandas=2.2.0
- numpy=1.26.3
- statsmodels=0.14.1
7 changes: 6 additions & 1 deletion modules/local/mea/postprocess/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ process POSTPROCESS_PASCAL {

label 'process_low'

container 'docker://jungwooseok/mea:1.0.0'
// container 'jungwooseok/mea:1.0.0'
conda "${moduleDir}/environment.yml"
// TODO: requested BioContainer
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/mulled-v2-9d836da785124bb367cbe6fbfc00dddd2107a4da:b033d6a4ea3a42a6f5121a82b262800f1219b382-0' :
'quay.io/biocontainers/mulled-v2-9d836da785124bb367cbe6fbfc00dddd2107a4da:b033d6a4ea3a42a6f5121a82b262800f1219b382-0' }"


input:
tuple val(module_id), path(pascalOutputFile), path(geneScoreFilePascalInput), path(goFile)
Expand Down
8 changes: 8 additions & 0 deletions modules/local/mea/preprocess/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: merge_ora_and_summary
channels:
- conda-forge
- bioconda
- defaults
dependencies:
- python=3.8.3
- pandas=1.1.5
2 changes: 1 addition & 1 deletion modules/local/mea/preprocess/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process PREPROCESS_PASCAL {

label 'process_low'

// container 'docker://jungwooseok/mea:1.0.0'
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/pandas:1.1.5' :
'quay.io/biocontainers/pandas:1.1.5' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/mmap/mmap/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process MMAP {

label 'process_low'

container 'docker://jungwooseok/mmap:1.0.2'
container 'jungwooseok/mmap:1.0.2'

input:
val gene
Expand Down
2 changes: 1 addition & 1 deletion modules/local/mmap/mmap_parse/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ process MMAP_PARSE {
conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/mulled-v2-344874846f44224e5f0b7b741eacdddffe895d1e:d3fff24ee1297b4c3bcef48354c2a30f0c82007a-0' :
'biocontainers/mulled-v2-344874846f44224e5f0b7b741eacdddffe895d1e:d3fff24ee1297b4c3bcef48354c2a30f0c82007a-0' }"
'quay.io/biocontainers/mulled-v2-344874846f44224e5f0b7b741eacdddffe895d1e:d3fff24ee1297b4c3bcef48354c2a30f0c82007a-0' }"

input:
path output_MMAP
Expand Down
2 changes: 1 addition & 1 deletion modules/local/pascal/main.nf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
process PASCAL {
label 'process_medium'

container 'docker://jungwooseok/pascal:1.0.3'
container 'jungwooseok/pascal:1.0.3'

// publishDir "results/pascal", mode:'copy', saveAs: { filename -> filename.endsWith(".csv") ? "PASCAL.csv" : filename}

Expand Down
4 changes: 2 additions & 2 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ profiles {
// Will not be used unless Apptainer / Docker / Podman / Singularity are enabled
// Set to your registry if you have a mirror of containers
apptainer.registry = 'quay.io'
docker.registry = 'quay.io'
docker.registry = 'docker.io'
podman.registry = 'quay.io'
singularity.registry = 'quay.io'
singularity.registry = 'docker.io'

// Nextflow plugins
plugins {
Expand Down

0 comments on commit 4c8047b

Please sign in to comment.