File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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"
Original file line number Diff line number Diff 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" ),
File renamed without changes.
You can’t perform that action at this time.
0 commit comments