|
1 | | -rule heatmap: |
| 1 | +rule demix_plot_data: |
| 2 | + conda: "../envs/renv.yaml" |
| 3 | + input: |
| 4 | + summary_demixing = OUTDIR/"demixing"/"summary.csv", |
| 5 | + metadata = config["METADATA"] |
| 6 | + output: |
| 7 | + data = report(REPORT_DIR_TABLES/"demix.csv") |
| 8 | + log: |
| 9 | + LOGDIR / "demix_plot_data" / "log.txt" |
| 10 | + script: |
| 11 | + "../scripts/report/demix_plot_data.R" |
| 12 | + |
| 13 | + |
| 14 | +rule demix_plot: |
| 15 | + conda: "../envs/renv.yaml" |
| 16 | + params: |
| 17 | + design = config["PLOTS"] |
| 18 | + input: |
| 19 | + data = REPORT_DIR_TABLES/"demix.csv" |
| 20 | + output: |
| 21 | + plot = report(REPORT_DIR_PLOTS/"demix.png") |
| 22 | + log: |
| 23 | + LOGDIR / "demix_plot" / "log.txt" |
| 24 | + script: |
| 25 | + "../scripts/report/demix_plot.R" |
| 26 | + |
| 27 | + |
| 28 | +rule heatmap_plot_data: |
2 | 29 | conda: "../envs/renv.yaml" |
3 | 30 | input: |
4 | 31 | vcf = OUTDIR/f"{OUTPUT_NAME}.masked.filtered.tsv", |
5 | 32 | metadata = config["METADATA"] |
6 | 33 | output: |
7 | | - table = report(REPORT_DIR_TABLES/"figure_10.csv") |
| 34 | + table = report(REPORT_DIR_TABLES/"heatmap.csv") |
8 | 35 | log: |
9 | 36 | LOGDIR / "heatmap" / "log.txt" |
10 | 37 | script: |
@@ -49,33 +76,6 @@ rule diversity: |
49 | 76 | "../scripts/report/diversity_plot.R" |
50 | 77 |
|
51 | 78 |
|
52 | | -rule demix_plot_data: |
53 | | - conda: "../envs/renv.yaml" |
54 | | - input: |
55 | | - summary_demixing = OUTDIR/"demixing"/"summary.csv", |
56 | | - metadata = config["METADATA"] |
57 | | - output: |
58 | | - data = report(REPORT_DIR_TABLES/"demix.csv") |
59 | | - log: |
60 | | - LOGDIR / "demix_plot_data" / "log.txt" |
61 | | - script: |
62 | | - "../scripts/report/demix_plot_data.R" |
63 | | - |
64 | | - |
65 | | -rule demix_plot: |
66 | | - conda: "../envs/renv.yaml" |
67 | | - params: |
68 | | - design = config["PLOTS"] |
69 | | - input: |
70 | | - data = REPORT_DIR_TABLES/"demix.csv" |
71 | | - output: |
72 | | - plot = report(REPORT_DIR_PLOTS/"demix.png") |
73 | | - log: |
74 | | - LOGDIR / "demix_plot" / "log.txt" |
75 | | - script: |
76 | | - "../scripts/report/demix_plot.R" |
77 | | - |
78 | | - |
79 | 79 | rule general_NV_description: |
80 | 80 | conda: "../envs/renv.yaml" |
81 | 81 | params: |
@@ -196,7 +196,7 @@ rule report: |
196 | 196 | panel = report(REPORT_DIR_PLOTS/"figure_7.png"), |
197 | 197 | tree = report(REPORT_DIR_PLOTS/"figure_8.png"), |
198 | 198 | temest = report(REPORT_DIR_PLOTS/"figure_9.png"), |
199 | | - heat_table = report(REPORT_DIR_TABLES/"figure_10.csv"), |
| 199 | + heat_table = report(REPORT_DIR_TABLES/"heatmap.csv"), |
200 | 200 | evo = report(REPORT_DIR_PLOTS/"figure_11.png"), |
201 | 201 | omega_plot = report(REPORT_DIR_PLOTS/"figure_12.png"), |
202 | 202 | freyja_ts = OUTDIR/"demixing"/"freyja_data"/"last_barcode_update.txt", |
|
0 commit comments