forked from UW-GAC/anvil-util-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata_dictionary_report.wdl
49 lines (41 loc) · 991 Bytes
/
data_dictionary_report.wdl
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
37
38
39
40
41
42
43
44
45
46
47
48
49
version 1.0
workflow data_dictionary_report {
input {
File data_file
String dd_url
String out_prefix
}
call results {
input: data_file = data_file,
dd_url = dd_url,
out_prefix = out_prefix
}
output {
File file_report = results.file_report
Boolean pass_checks = results.pass_checks
}
meta {
author: "Stephanie Gogarten"
email: "[email protected]"
}
}
task results{
input {
File data_file
String dd_url
String out_prefix
}
command {
Rscript /usr/local/anvil-util-workflows/data_dictionary_report.R \
--data_file ${data_file} \
--dd_file ${dd_url} \
--out_prefix ${out_prefix}
}
output {
File file_report = "${out_prefix}.txt"
Boolean pass_checks = read_boolean("pass.txt")
}
runtime {
docker: "uwgac/anvil-util-workflows:0.2.3"
}
}