File tree 10 files changed +15
-8
lines changed
10 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1
1
2
2
##### global workflow dependencies #####
3
- conda : "envs/global.yaml"
3
+ # conda: "envs/global.yaml"
4
4
5
5
##### libraries #####
6
6
import os
Original file line number Diff line number Diff line change 1
1
channels :
2
2
- conda-forge
3
- - defaults
3
+ - nodefaults
4
4
dependencies :
5
5
- r-ggplot2=3.3.6
6
6
- r-data.table=1.15.2
Original file line number Diff line number Diff line change 1
1
channels :
2
2
- conda-forge
3
3
- bioconda
4
- - defaults
4
+ - nodefaults
5
5
dependencies :
6
6
- r-ggplot2=3.5.1
7
7
- r-ggplotify=0.1.2
Original file line number Diff line number Diff line change 1
1
channels :
2
2
- conda-forge
3
3
- bioconda
4
- - defaults
4
+ - nodefaults
5
5
dependencies :
6
6
- bioconductor-limma=3.46.0
7
7
- bioconductor-edger=3.32.1
Original file line number Diff line number Diff line change 1
1
channels :
2
2
- conda-forge
3
3
- bioconda
4
- - defaults
4
+ - nodefaults
5
5
dependencies :
6
6
- bioconductor-enhancedvolcano=1.20.0
7
7
- r-ggplot2=3.5.1
Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ rule aggregate:
75
75
adj_pval = config ["filters" ]["adj_pval" ],
76
76
lfc = config ["filters" ]["lfc" ],
77
77
ave_expr = config ["filters" ]["ave_expr" ],
78
+ utils_path = workflow .source_path ("../scripts/utils.R" ),
78
79
script :
79
80
"../scripts/aggregate.R"
80
81
@@ -104,5 +105,6 @@ rule feature_lists:
104
105
adj_pval = config ["filters" ]["adj_pval" ],
105
106
lfc = config ["filters" ]["lfc" ],
106
107
ave_expr = config ["filters" ]["ave_expr" ],
108
+ utils_path = workflow .source_path ("../scripts/utils.R" ),
107
109
script :
108
110
"../scripts/aggregate.R"
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ rule volcanos:
24
24
params :
25
25
pCutoff = config ["volcano" ]["pCutoff" ],
26
26
FCcutoff = config ["volcano" ]["FCcutoff" ],
27
+ utils_path = workflow .source_path ("../scripts/utils.R" ),
27
28
script :
28
29
"../scripts/volcanos.R"
29
30
@@ -52,5 +53,6 @@ rule lfc_heatmap:
52
53
adj_pval = config ["filters" ]["adj_pval" ],
53
54
lfc = config ["filters" ]["lfc" ],
54
55
ave_expr = config ["filters" ]["ave_expr" ],
56
+ utils_path = workflow .source_path ("../scripts/utils.R" ),
55
57
script :
56
58
"../scripts/heatmap.R"
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ library("data.table")
4
4
5
5
# source utility functions
6
6
# source("workflow/scripts/utils.R")
7
- snakemake @ source(" ./utils.R" )
7
+ # snakemake@source("./utils.R") # does not work when loaded as module (https://github.com/snakemake/snakemake/issues/2205)
8
+ source(snakemake @ params [[" utils_path" ]])
8
9
9
10
# inputs
10
11
dea_result_path <- snakemake @ input [[" dea_results" ]]
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ library("data.table")
8
8
9
9
# source utility functions
10
10
# source("workflow/scripts/utils.R")
11
- snakemake @ source(" ./utils.R" )
11
+ # snakemake@source("./utils.R") # does not work when loaded as module (https://github.com/snakemake/snakemake/issues/2205)
12
+ source(snakemake @ params [[" utils_path" ]])
12
13
13
14
# inputs
14
15
# dea_lfc_path <- snakemake@input[["dea_lfc"]]
Original file line number Diff line number Diff line change @@ -6,7 +6,8 @@ library("data.table")
6
6
7
7
# source utility functions
8
8
# source("workflow/scripts/utils.R")
9
- snakemake @ source(" utils.R" )
9
+ # snakemake@source("./utils.R") # does not work when loaded as module (https://github.com/snakemake/snakemake/issues/2205)
10
+ source(snakemake @ params [[" utils_path" ]])
10
11
11
12
# inputs
12
13
dea_result_path <- snakemake @ input [[" dea_results" ]]
You can’t perform that action at this time.
0 commit comments