Skip to content

Commit 561e8d7

Browse files
committed
Update files "tree_pruned*" to "tree-pruned"
Updating the file name from an underscore to a dash allows us to get around the AmbigousRulesException raised by Snakemake when running the WHO builds.
1 parent f3887e6 commit 561e8d7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Snakefile_base

+3-3
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ rule prune_reference:
546546
input:
547547
tree = rules.refine.output.tree
548548
output:
549-
tree = "results/tree_pruned_{center}_{lineage}_{segment}_{resolution}_{passage}_{assay}.nwk"
549+
tree = "results/tree-pruned_{center}_{lineage}_{segment}_{resolution}_{passage}_{assay}.nwk"
550550
params:
551551
reference = _get_lineage_reference
552552
shell:
@@ -804,7 +804,7 @@ rule delta_frequency:
804804
rule clades:
805805
message: "Annotating clades"
806806
input:
807-
tree = "results/tree_pruned_{center}_{lineage}_ha_{resolution}_{passage}_{assay}.nwk",
807+
tree = "results/tree-pruned_{center}_{lineage}_ha_{resolution}_{passage}_{assay}.nwk",
808808
nt_muts = rules.ancestral.output,
809809
aa_muts = rules.translate.output,
810810
clades = _get_clades_file_for_wildcards
@@ -829,7 +829,7 @@ rule clades:
829829

830830
rule antigenic_distances_between_strains:
831831
input:
832-
tree="results/tree_pruned_{center}_{lineage}_{segment}_{resolution}_{passage}_{assay}.nwk",
832+
tree="results/tree-pruned_{center}_{lineage}_{segment}_{resolution}_{passage}_{assay}.nwk",
833833
clades="results/clades_{center}_{lineage}_{segment}_{resolution}_{passage}_{assay}.json",
834834
titer_model="results/titers-sub-model_{center}_{lineage}_{segment}_{resolution}_{passage}_{assay}.json",
835835
titers="data/{center}_{lineage}_{passage}_{assay}_titers.tsv",

0 commit comments

Comments
 (0)