Skip to content

Commit 91b0f8c

Browse files
authored
Merge pull request #77 from fulaibaowang/nf-test-conda-env
nf-test-conda-env
2 parents 6de58a6 + ed89416 commit 91b0f8c

File tree

58 files changed

+223
-163
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+223
-163
lines changed

modules/local/fraser/annotategenes/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ dependencies:
1919
- conda-forge::r-rmarkdown=2.29
2020
- conda-forge::r-tidyr=1.3.1
2121
- conda-forge::r-yaml=2.3.10
22+
- conda-forge::r-cowplot=1.1.3
23+
- conda-forge::r-rcolorbrewer=1.1_3

modules/local/fraser/annotategenes/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ process FRASER_ANNOTATEGENES {
55
// TODO discuss if this container should be split up, library loading should be done in the module script instead in that case
66
conda "${moduleDir}/environment.yml"
77
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
8-
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/3e/3e8560898529101d3e70df5dc164124740084c05a48ced2baf0128379825d04e/data' :
9-
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:6ecb1e6b5187b515' }"
8+
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c8/c87aab5452ff7d6a9344148e284ca01a8c5d2239d7b0f26164da1806a8c59875/data' :
9+
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:b2aa4004c588aaaf' }"
1010

1111
input:
1212
tuple val(meta), path(fds, stageAs: "input/savedObjects/*"), path(txdb), path(gene_name_mapping), val(drop_group), val(annotation_id)

modules/local/fraser/calculatestats/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ dependencies:
1919
- conda-forge::r-rmarkdown=2.29
2020
- conda-forge::r-tidyr=1.3.1
2121
- conda-forge::r-yaml=2.3.10
22+
- conda-forge::r-cowplot=1.1.3
23+
- conda-forge::r-rcolorbrewer=1.1_3

modules/local/fraser/calculatestats/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ process FRASER_CALCULATESTATS {
55
// TODO discuss if this container should be split up, library loading should be done in the module script instead in that case
66
conda "${moduleDir}/environment.yml"
77
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
8-
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/3e/3e8560898529101d3e70df5dc164124740084c05a48ced2baf0128379825d04e/data' :
9-
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:6ecb1e6b5187b515' }"
8+
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c8/c87aab5452ff7d6a9344148e284ca01a8c5d2239d7b0f26164da1806a8c59875/data' :
9+
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:b2aa4004c588aaaf' }"
1010

1111
input:
1212
tuple val(meta), path(fds, stageAs: "input/savedObjects/*"), val(drop_group), val(annotation_id), val(sample_ids)

modules/local/fraser/calculatestats/tests/main.nf.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ nextflow_process {
5050
assertAll (
5151
{ assert process.success },
5252
{ assert snapshot(
53-
file_list.findAll { file(it.toString()).name != "fds-object.RDS"},
54-
file_list.findAll { file(it.toString()).name == "fds-object.RDS"}.collect { file(it.toString()).name },
53+
file_list.findAll { !(file(it.toString()).name in ["fds-object.RDS", "pvaluesBetaBinomial_psi5.h5", "pvaluesBetaBinomial_theta.h5", "pvaluesBetaBinomial_junction_psi5.h5", "pvaluesBetaBinomial_junction_theta.h5"])},
54+
file_list.findAll { file(it.toString()).name in ["fds-object.RDS", "pvaluesBetaBinomial_psi5.h5", "pvaluesBetaBinomial_theta.h5", "pvaluesBetaBinomial_junction_psi5.h5", "pvaluesBetaBinomial_junction_theta.h5"]}.collect { file(it.toString()).name },
5555
process.out.versions
5656
).match() }
5757
)

modules/local/fraser/calculatestats/tests/main.nf.test.snap

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@
2222
"psi3.h5:md5,e4718d51a2deba1a3eac0dd0ecfe725a",
2323
"psi5.h5:md5,bc4a333776535472090ad585e8e006ef",
2424
"pvaluesBetaBinomial_junction_psi3.h5:md5,2c40c6916d6a674ac797f7eb9af1f3e0",
25-
"pvaluesBetaBinomial_junction_psi5.h5:md5,bf4a9ea1d840bfda7133e3af9be12066",
26-
"pvaluesBetaBinomial_junction_theta.h5:md5,4df41aabd4e876d2c965916e515ad793",
2725
"pvaluesBetaBinomial_psi3.h5:md5,ce595a8ef6d382859108f9f23eb7cd58",
28-
"pvaluesBetaBinomial_psi5.h5:md5,0e176c189b747394b1a135a137fd81cd",
29-
"pvaluesBetaBinomial_theta.h5:md5,f09966dd529f5d54cb4c3be1d8190554",
3026
"rawCountsJ.h5:md5,64f8b27cc8cb2bc47de81f0a8cdf51e5",
3127
"rawCountsJnonsplit.h5:md5,769e925164bf81231c9b325954171e6a",
3228
"rawCountsSS.h5:md5,1bd7d5c2256f1c509142d8a779929f01",
@@ -37,7 +33,11 @@
3733
"theta.h5:md5,45e4ee34c95792a5b15f566fcadeee21"
3834
],
3935
[
40-
"fds-object.RDS"
36+
"fds-object.RDS",
37+
"pvaluesBetaBinomial_junction_psi5.h5",
38+
"pvaluesBetaBinomial_junction_theta.h5",
39+
"pvaluesBetaBinomial_psi5.h5",
40+
"pvaluesBetaBinomial_theta.h5"
4141
],
4242
[
4343
"versions.yml:md5,c2230506da2802610cc2143196972faf"
@@ -47,7 +47,7 @@
4747
"nf-test": "0.9.2",
4848
"nextflow": "25.04.6"
4949
},
50-
"timestamp": "2025-08-12T13:33:08.458817805"
50+
"timestamp": "2025-09-09T12:24:11.592076778"
5151
},
5252
"homo_sapiens - fds, cache - stub": {
5353
"content": [

modules/local/fraser/extractresults/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ dependencies:
1919
- conda-forge::r-rmarkdown=2.29
2020
- conda-forge::r-tidyr=1.3.1
2121
- conda-forge::r-yaml=2.3.10
22+
- conda-forge::r-cowplot=1.1.3
23+
- conda-forge::r-rcolorbrewer=1.1_3

modules/local/fraser/extractresults/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ process FRASER_EXTRACTRESULTS {
55
// TODO discuss if this container should be split up, library loading should be done in the module script instead in that case
66
conda "${moduleDir}/environment.yml"
77
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
8-
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/3e/3e8560898529101d3e70df5dc164124740084c05a48ced2baf0128379825d04e/data' :
9-
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:6ecb1e6b5187b515' }"
8+
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c8/c87aab5452ff7d6a9344148e284ca01a8c5d2239d7b0f26164da1806a8c59875/data' :
9+
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:b2aa4004c588aaaf' }"
1010

1111
input:
1212
tuple val(meta), path(fds, stageAs: 'input/savedObjects/*'), path(txdb), val(drop_group), val(annotation_id), val(sample_ids)

modules/local/fraser/filterexpression/environment.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,5 @@ dependencies:
1919
- conda-forge::r-rmarkdown=2.29
2020
- conda-forge::r-tidyr=1.3.1
2121
- conda-forge::r-yaml=2.3.10
22+
- conda-forge::r-cowplot=1.1.3
23+
- conda-forge::r-rcolorbrewer=1.1_3

modules/local/fraser/filterexpression/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ process FRASER_FILTEREXPRESSION {
55
// TODO discuss if this container should be split up, library loading should be done in the module script instead in that case
66
conda "${moduleDir}/environment.yml"
77
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
8-
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/3e/3e8560898529101d3e70df5dc164124740084c05a48ced2baf0128379825d04e/data' :
9-
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:6ecb1e6b5187b515' }"
8+
'https://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/c8/c87aab5452ff7d6a9344148e284ca01a8c5d2239d7b0f26164da1806a8c59875/data' :
9+
'community.wave.seqera.io/library/bioconductor-bsgenome.hsapiens.ucsc.hg19_bioconductor-bsgenome.hsapiens.ucsc.hg38_bioconductor-bsgenome_bioconductor-delayedmatrixstats_pruned:b2aa4004c588aaaf' }"
1010

1111
input:
1212
tuple val(meta), path(fds, stageAs: "input/savedObjects/*"), path(splice_counts_dirs), val(external_count_ids), val(drop_group)

0 commit comments

Comments
 (0)