Skip to content

Commit 7a16b47

Browse files
committed
Move inputs to appropriate directive
1 parent 63f5cf2 commit 7a16b47

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

workflow/rules/report.smk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,12 @@ rule general_NV_description:
9898
params:
9999
samples = expand("{sample}", sample = iter_samples()),
100100
design = config["PLOTS"],
101-
regions = config["PLOT_GENOME_REGIONS"],
102-
coordinates = config["COORDINATES_JSON"],
103101
window = config["WINDOW"]["WIDTH"],
104102
step = config["WINDOW"]["STEP"],
105103
max_alt_freq = 1.0 - config["VC"]["IVAR_FREQ"]
106104
input:
105+
coordinates = config["COORDINATES_JSON"],
106+
regions = config["PLOT_GENOME_REGIONS"],
107107
window = OUTDIR/f"{OUTPUT_NAME}.window.csv",
108108
vcf = OUTDIR/f"{OUTPUT_NAME}.masked.filtered.tsv",
109109
metadata = config["METADATA"]

workflow/scripts/report/NV_description.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ vcf <- vcf %>%
118118
)
119119

120120
# NSP data
121-
npc <- read_csv(snakemake@params[["regions"]]) %>%
121+
npc <- read_csv(snakemake@input[["regions"]]) %>%
122122
mutate(
123123
summary_nsp = case_when(
124124
region %in% paste("nsp", seq(4, 12, 1), sep = "") ~ "nsp4-12",

0 commit comments

Comments
 (0)