-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSnakefile
More file actions
36 lines (27 loc) · 799 Bytes
/
Snakefile
File metadata and controls
36 lines (27 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
configfile: "config/configfile.yaml"
build_dir = 'results'
auspice_dir = 'auspice'
rule all:
input:
expand("auspice/rsv_{subtype}_{build}.json",
subtype = config.get("subtypes",['a']),
build = config.get("buildstorun", ['genome']))
include: "workflow/snakemake_rules/core.smk"
include: "workflow/snakemake_rules/export.smk"
include: "workflow/snakemake_rules/download.smk"
include: "workflow/snakemake_rules/glycosylation.smk"
include: "workflow/snakemake_rules/clades.smk"
rule clean:
params:
targets = ["auspice", "results"]
shell:
"""
rm -rf {params.targets}
"""
rule clobber:
params:
targets = ["data", "auspice", "results"]
shell:
"""
rm -rf {params.targets}
"""