Skip to content

Commit

Permalink
Updates all Singularity containers
Browse files Browse the repository at this point in the history
  • Loading branch information
mbdabrowska1 committed Mar 13, 2024
1 parent 7774cb3 commit 8a59468
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ process {
"--min_cluster_size ${params.min_cluster_size}",
"--cluster_sel_epsilon ${params.cluster_sel_epsilon}"
].join(' ').trim()
containerOptions = "--env NUMBA_CACHE_DIR=/tmp"
}

withName: CANU_CORRECTION {
Expand Down
2 changes: 1 addition & 1 deletion modules/local/draft_selection/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process DRAFT_SELECTION {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://quay.io/biocontainers/fastani:1.34--h4dfc31f_1' :
'biocontainers/fastani:1.34--h4dfc31f_1' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/full_classification.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process FULL_CLASSIFICATION {

conda "bioconda::kraken2 rdptools blast"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://mbdabrowska1/full-classification:1.0' :
'docker.io/mbdabrowska1/full-classification:1.0' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/get_abundance/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process GET_ABUNDANCE {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://mbdabrowska1/get-abundance:1.0' :
'docker.io/mbdabrowska1/get-abundance:1.0' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/join_results.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process JOIN_RESULTS {

conda "bioconda::grep=3.4"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://ubuntu' :
'docker.io/ubuntu' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/kmer_freqs/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process KMER_FREQS {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://mbdabrowska1/kmer_freqs:1.0' :
'docker.io/mbdabrowska1/kmer_freqs:1.0' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/medaka_pass.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process MEDAKA_PASS {

conda "bioconda::medaka=1.4.4"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://quay.io/biocontainers/medaka:1.4.4--py38h130def0_0' :
'biocontainers/medaka:1.4.4--py38h130def0_0' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/racon_pass.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process RACON_PASS {

conda "bioconda::minimap2 racon"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://mbdabrowska1/racon-pass:1.0' :
'docker.io/mbdabrowska1/racon-pass:1.0' }"

input:
Expand Down
3 changes: 2 additions & 1 deletion modules/local/read_clustering/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process READ_CLUSTERING {

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://mbdabrowska1/read-clustering:1.0' :
'docker.io/mbdabrowska1/read-clustering:1.0' }"

input:
Expand All @@ -20,6 +20,7 @@ process READ_CLUSTERING {
def args = task.ext.args ?: ''

"""
echo "starting clustering"
umap_hdbscan.py \\
--infile ${freqs} \\
--outfile ${prefix}_hdbscan_output \\
Expand Down
2 changes: 1 addition & 1 deletion modules/local/samplesheet_check.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process SAMPLESHEET_CHECK {

conda "conda-forge::python=3.8.3 pandas openpyxl pathlib"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/python:3.8.3' :
'docker://mbdabrowska1/samplesheet-check:1.0.2' :
'docker.io/mbdabrowska1/samplesheet-check:1.0.2' }"

input:
Expand Down
2 changes: 1 addition & 1 deletion modules/local/split_clusters.nf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ process SPLIT_CLUSTERS {

conda "bioconda::seqtk"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/grep:3.4--hf43ccf4_4' :
'docker://quay.io/biocontainers/seqtk:1.4--he4a0461_1' :
'biocontainers/seqtk:1.4--he4a0461_1' }"

input:
Expand Down

0 comments on commit 8a59468

Please sign in to comment.