Skip to content

Commit

Permalink
phylogenetic: Add root-sequence.json to rule all
Browse files Browse the repository at this point in the history
Explicitly state that the root-sequence.json file is an expected output
of the core phylogenetic workflow.

This also ensures that the Nextstrain automation rule `deploy_all`
will include the root-sequence.json in the upload.
  • Loading branch information
joverlee521 committed Apr 16, 2024
1 parent 9b93e70 commit 502a3b4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions phylogenetic/Snakefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
genes = ['N450', 'genome']

configfile: "defaults/config.yaml"
configfile: "defaults/config.yaml"

rule all:
input:
auspice_json = expand("auspice/measles_{gene}.json", gene=genes)
expand([
"auspice/measles_{gene}.json",
"auspice/measles_{gene}_root-sequence.json"
], gene=genes)

include: "rules/prepare_sequences.smk"
include: "rules/prepare_sequences_N450.smk"
Expand Down

0 comments on commit 502a3b4

Please sign in to comment.