Skip to content

Commit

Permalink
Resolve JSON paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmig committed Oct 11, 2023
1 parent ee70672 commit d69dc29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions workflow/rules/evolution.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion workflow/rules/report.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion workflow/rules/vaf.smk
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d69dc29

Please sign in to comment.