-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSnakefile
32 lines (29 loc) · 970 Bytes
/
Snakefile
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
rule target:
input:
# expand("test/kbanded_{k}_{b}.result", k=range(1, 11), b=range(1, 10, 2)),
# expand("test/shingles_{k}_{gramSize}.result", k=range(1, 11), gramSize=range(2, 21, 3)),
# expand("test/kbanded_{b}.acc", b=range(1, 10, 2)),
# expand("test/shingles_{gramSize}.acc", gramSize=range(2, 21, 3)),
expand("test/kbanded_10_{b}.result.cluster", b=range(1, 10, 2)),
expand("test/shingles_10_{gramSize}.result.cluster", gramSize=range(2, 21, 3)),
rule test:
input:
"test/{param}.params"
output:
"test/{param}.result"
shell:
"./script.sh {input} {output}"
rule accuracy:
input:
"test/{param}.acc.params"
output:
"test/{param}.acc"
shell:
"./accuracy_wrapper.sh {input} {output}"
rule cluster:
input:
"test/{param}.params"
output:
"test/{param}.result.cluster"
shell:
"./script_cluster.sh {input} {output}"