Skip to content

Commit

Permalink
Merge pull request #111 from nf-core/110-change-modules-with-oras
Browse files Browse the repository at this point in the history
change oras with https for singularity
  • Loading branch information
kubranarci authored Dec 3, 2024
2 parents 66e75a6 + a00e84c commit 68b165f
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 19 deletions.
2 changes: 1 addition & 1 deletion modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
},
"datavzrd": {
"branch": "master",
"git_sha": "666652151335353eef2fcd58880bcef5bc2928e1",
"git_sha": "09f36ce2d721684f2883fdde4353c563ea15a48c",
"installed_by": ["modules"]
},
"happy/happy": {
Expand Down
5 changes: 5 additions & 0 deletions modules/local/create_datavzrd_input/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ process CREATE_DATAVZRD_INPUT {
tag "$meta.id"
label 'process_single'

conda "conda-forge::tar=1.34"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'https://depot.galaxyproject.org/singularity/ubuntu:20.04' :
'quay.io/nf-core/ubuntu:20.04' }"

input:
tuple val(meta), path(csv), path(template)

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

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'oras://community.wave.seqera.io/library/htslib_pysam_tabix_pip_variant-extractor:a12ef217eccf6ba8':
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c9/c9964f2ad344f5df543a390ddceb308af0816bed9c9abb9cb400e65525580694/data':
'community.wave.seqera.io/library/htslib_pysam_tabix_pip_variant-extractor:a12ef217eccf6ba8' }"

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

conda "${moduleDir}/environment.yml"
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'oras://community.wave.seqera.io/library/pysam_pandas_pip_variant-extractor:a2d9ec4a4efadbc3':
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/30/30151e7153f1f845e2723b29048a3cdf842e2dcb1384cfcc86ced0211d5e4895/data':
'community.wave.seqera.io/library/pysam_pandas_pip_variant-extractor:a2d9ec4a4efadbc3' }"

input:
Expand Down
4 changes: 2 additions & 2 deletions modules/nf-core/datavzrd/main.nf

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

6 changes: 4 additions & 2 deletions tests/.nftignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ references/rtgtools/genome.sdf/done
**/summary/datavzrd/**/test/*.{js}
**/summary/datavzrd/**/test/index_1.html
**/summary/datavzrd/**/test/data/data_1.js
**/summary/datavzrd/**/test/plots/*.{js}
**/summary/datavzrd/**/network/plots/*.{js}
**/summary/datavzrd/**/test/plots/*.js
**/summary/datavzrd/**/network/plots/*.js
**/summary/datavzrd/**/network/*.{js}
**/summary/datavzrd/**/network/index_1.html
**/summary/datavzrd/**/network/data/data_1.js
**/summary/plots/happy/*.png
**/summary/plots/rtgtools/*.png
**/summary/plots/**/*.png
**/summary/comparisons/*.csv
**/summary/tables/**/*.csv
Expand Down
8 changes: 4 additions & 4 deletions tests/germline_small.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.1"
"nextflow": "24.10.2"
},
"timestamp": "2024-11-22T13:15:43.288411916"
"timestamp": "2024-11-28T16:47:47.024615694"
},
"Params: --analysis 'germline' --variant_type 'small' --method 'happy,rtgtools'": {
"content": [
Expand Down Expand Up @@ -573,8 +573,8 @@
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.1"
"nextflow": "24.10.2"
},
"timestamp": "2024-11-22T13:13:38.90109915"
"timestamp": "2024-11-28T16:45:26.990755841"
}
}
8 changes: 4 additions & 4 deletions tests/germline_sv.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,9 @@
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.1"
"nextflow": "24.10.2"
},
"timestamp": "2024-11-26T14:01:47.145700457"
"timestamp": "2024-11-28T16:51:57.386421371"
},
"-stub": {
"content": [
Expand Down Expand Up @@ -654,8 +654,8 @@
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.1"
"nextflow": "24.10.2"
},
"timestamp": "2024-11-22T12:38:58.811950484"
"timestamp": "2024-11-28T16:54:34.483191183"
}
}
4 changes: 2 additions & 2 deletions tests/liftover_hg38.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.1"
"nextflow": "24.10.2"
},
"timestamp": "2024-11-22T13:34:14.298465035"
"timestamp": "2024-11-29T09:23:31.648065377"
},
"-stub": {
"content": [
Expand Down
4 changes: 2 additions & 2 deletions tests/somatic_sv.nf.test.snap
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
],
"meta": {
"nf-test": "0.9.0",
"nextflow": "24.10.1"
"nextflow": "24.10.2"
},
"timestamp": "2024-11-26T13:55:27.662287528"
"timestamp": "2024-11-28T16:58:12.671419675"
}
}

0 comments on commit 68b165f

Please sign in to comment.