Skip to content

Commit c1d4c17

Browse files
committed
Update dN/dS rule name and paths
1 parent f0622c0 commit c1d4c17

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

workflow/rules/evolution.smk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ rule n_s_sites:
3131
"../scripts/n_s_sites_from_fasta.py"
3232

3333

34-
rule dnds_data:
34+
rule calculate_dnds:
3535
conda: "../envs/renv.yaml"
3636
input:
3737
n_s_sites = OUTDIR/f"{OUTPUT_NAME}.ancestor.n_s.sites.csv",
3838
variants = OUTDIR/f"{OUTPUT_NAME}.variants.tsv",
3939
metadata = config["METADATA"]
4040
output:
41-
table = report(OUTDIR/"dnds.csv")
41+
table = OUTDIR/f"{OUTPUT_NAME}.dnds.csv",
4242
log:
43-
LOGDIR / "dnds_data" / "log.txt"
43+
LOGDIR / "calculate_dnds" / "log.txt"
4444
script:
45-
"../scripts/dnds_data.R"
45+
"../scripts/calculate_dnds.R"

workflow/rules/report.smk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ rule dnds_plots:
329329
plot_height_mm = 119.4,
330330
plot_width_mm = 159.2,
331331
input:
332-
table = REPORT_DIR_TABLES/"dnds.csv",
332+
table = OUTDIR/f"{OUTPUT_NAME}.dnds.csv",
333333
output:
334334
plot_dn_ds = report(REPORT_DIR_PLOTS/"dn_and_ds.png"),
335335
plot_omega = report(REPORT_DIR_PLOTS/"dnds.png"),

0 commit comments

Comments
 (0)