Skip to content

Commit

Permalink
Merge pull request #284 from genomic-medicine-sweden/remove_enable_conda
Browse files Browse the repository at this point in the history
updates modules to remove enable_conda
  • Loading branch information
jemten authored Feb 16, 2023
2 parents ba19f8a + 8955858 commit 7a0d47a
Show file tree
Hide file tree
Showing 78 changed files with 163 additions and 150 deletions.
124 changes: 62 additions & 62 deletions modules.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/local/add_most_severe_consequence.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process ADD_MOST_SEVERE_CSQ {
tag "$meta.id"
label 'process_low'

conda (params.enable_conda ? "conda-forge::python=3.9.5" : null)
conda "conda-forge::python=3.9.5"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/python:3.9--1' :
'quay.io/biocontainers/python:3.9--1' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/add_most_severe_pli.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process ADD_MOST_SEVERE_PLI {
tag "$meta.id"
label 'process_low'

conda (params.enable_conda ? "conda-forge::python=3.9.5" : null)
conda "conda-forge::python=3.9.5"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/python:3.9--1' :
'quay.io/biocontainers/python:3.9--1' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/change_name.nf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ process CHANGE_NAME {
label 'process_low'
label 'process_single'

conda (params.enable_conda ? "conda-forge::python=3.9.5" : null)
conda "conda-forge::python=3.9.5"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/python:3.9--1' :
'quay.io/biocontainers/python:3.9--1' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/check_input_vcf.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process CHECK_INPUT_VCF {
tag "check_vcf"
label 'process_single'

conda (params.enable_conda ? "conda-forge::python=3.9.5" : null)
conda "conda-forge::python=3.9.5"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/python:3.9--1' :
'quay.io/biocontainers/python:3.9--1' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/create_bed_from_fai.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process BUILD_BED {
tag "$meta.id"
label 'process_single'

conda (params.enable_conda ? "anaconda::gawk=5.1.0" : null)
conda "anaconda::gawk=5.1.0"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gawk:5.1.0' :
'quay.io/biocontainers/gawk:5.1.0' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/create_pedfile.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process MAKE_PED {
tag "make_ped"
label 'process_single'

conda (params.enable_conda ? "conda-forge::python=3.9.5" : null)
conda "conda-forge::python=3.9.5"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/python:3.9--1' :
'quay.io/biocontainers/python:3.9--1' }"
Expand Down
5 changes: 3 additions & 2 deletions modules/local/ensemblvep/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ process ENSEMBLVEP {
tag "$meta.id"
label 'process_medium'

if (params.enable_conda) {
exit 1, "Conda environments cannot be used with vep at the moment. Please use Docker or Singularity containers."
// Exit if running this module with -profile conda / -profile mamba
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
exit 1, "Local VEP module does not support Conda. Please use Docker / Singularity / Podman instead."
}

container "ensemblorg/ensembl-vep:release_107.0"
Expand Down
5 changes: 3 additions & 2 deletions modules/local/filter_vep.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ process FILTER_VEP {
tag "$meta.id"
label 'process_low'

if (params.enable_conda) {
exit 1, "Conda environments cannot be used with vep at the moment. Please use Docker or Singularity containers."
// Exit if running this module with -profile conda / -profile mamba
if (workflow.profile.tokenize(',').intersect(['conda', 'mamba']).size() >= 1) {
exit 1, "Local VEP module does not support Conda. Please use Docker / Singularity / Podman instead."
}
container "ensemblorg/ensembl-vep:release_107.0"

Expand Down
2 changes: 1 addition & 1 deletion modules/local/gatk4/collectreadcounts/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process GATK4_COLLECTREADCOUNTS {
tag "$meta.id"
label 'process_medium'

conda (params.enable_conda ? "bioconda::gatk4=4.2.4.1" : null)
conda "bioconda::gatk4=4.2.4.1"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gatk4:4.2.4.1--hdfd78af_0' :
'quay.io/biocontainers/gatk4:4.2.4.1--hdfd78af_0' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/gatk4/denoisereadcounts/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process GATK4_DENOISEREADCOUNTS {
tag "$meta.id"
label 'process_high'

conda (params.enable_conda ? "bioconda::gatk4=4.2.4.1" : null)
conda "bioconda::gatk4=4.2.4.1"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gatk4:4.2.4.1--hdfd78af_0' :
'quay.io/biocontainers/gatk4:4.2.4.1--hdfd78af_0' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/local/get_chrom_sizes.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ process GET_CHROM_SIZES {
tag "$fai"
label 'process_single'

conda (params.enable_conda ? "conda-forge::coreutils=8.31" : null)
conda "conda-forge::coreutils=8.31"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/gnu-wget:1.18--0' :
'quay.io/biocontainers/gnu-wget:1.18--0' }"
Expand Down
2 changes: 1 addition & 1 deletion modules/nf-core/bcftools/concat/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions modules/nf-core/bcftools/concat/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bcftools/merge/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bcftools/norm/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bcftools/roh/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bcftools/view/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bwa/index/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bwamem2/index/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bwamem2/index/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/bwamem2/mem/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cat/cat/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cnvpytor/callcnvs/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cnvpytor/histogram/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cnvpytor/importreaddepth/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cnvpytor/partition/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/cnvpytor/view/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions modules/nf-core/deepvariant/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/expansionhunter/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/bedtointervallist/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions modules/nf-core/gatk4/createsequencedictionary/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/filtermutectcalls/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/intervallisttools/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/mergebamalignment/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/mergevcfs/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/mutect2/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/printreads/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/revertsam/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/samtofastq/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/selectvariants/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/splitintervals/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/nf-core/gatk4/variantfiltration/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7a0d47a

Please sign in to comment.