diff --git a/workflow/rules/evolution.smk b/workflow/rules/evolution.smk index e8ae219..e89d358 100644 --- a/workflow/rules/evolution.smk +++ b/workflow/rules/evolution.smk @@ -4,8 +4,8 @@ rule N_S_sites: input: fasta = OUTDIR/f"{OUTPUT_NAME}.ancestor.fasta", gb = OUTDIR/"reference.gb", - features = config["FEATURES_JSON"], - genetic_code = config["GENETIC_CODE_JSON"] + features = Path(config["FEATURES_JSON"]).resolve(), + genetic_code = Path(config["GENETIC_CODE_JSON"]).resolve() output: csv = temp(OUTDIR/f"{OUTPUT_NAME}.ancestor.N_S.sites.csv") log: diff --git a/workflow/rules/report.smk b/workflow/rules/report.smk index cd9ca87..25d168a 100644 --- a/workflow/rules/report.smk +++ b/workflow/rules/report.smk @@ -19,7 +19,7 @@ rule window: input: vcf = OUTDIR/f"{OUTPUT_NAME}.masked.filtered.tsv", gb = OUTDIR/"reference.gb", - features = config["FEATURES_JSON"] + features = Path(config["FEATURES_JSON"]).resolve() output: window_df = temp(OUTDIR/f"{OUTPUT_NAME}.window.csv"), log: diff --git a/workflow/rules/vaf.smk b/workflow/rules/vaf.smk index 821ae87..166ea2b 100644 --- a/workflow/rules/vaf.smk +++ b/workflow/rules/vaf.smk @@ -59,7 +59,7 @@ rule annotation: input: gb = OUTDIR/"reference.gb", ref = OUTDIR/"reference.fasta", - features = config["FEATURES_JSON"] + features = Path(config["FEATURES_JSON"]).resolve() output: df = temp(OUTDIR/"annotation.csv") log: