Skip to content

Commit

Permalink
make more subsampler inputs optional and add more typing to inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Sep 21, 2023
1 parent 59f16e3 commit cc1b737
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions pipes/WDL/tasks/tasks_interhost.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@ task subsample_by_cases {
input {
File metadata
File case_data
File keep_file
File remove_file
File filter_file
File? keep_file
File? remove_file
File? filter_file
String? start_date
String? end_date
String id_column
String geo_column
String date_column
String baseline = "0.001"
String refgenome_size = "1"
String max_missing = "99"
String seed_num = "2007"
String date_column = "date"
Float baseline = 0.001
Int refgenome_size = 1
Int max_missing = 99
Int seed_num = 2007
String unit = "week"
String docker = "quay.io/broadinstitute/subsampler"
Expand All @@ -29,9 +30,9 @@ task subsample_by_cases {
cd /opt/subsampler
snakemake subsample --config metadata=~{metadata} \
case_data=~{case_data} \
keep_file=~{keep_file} \
remove_file=~{remove_file} \
filter_file=~{filter_file} \
~{"keep_file=" + keep_file} \
~{"remove_file" + remove_file} \
~{"filter_file" + filter_file} \
id_column=~{id_column} \
geo_column=~{geo_column} \
date_column=~{date_column} \
Expand Down

0 comments on commit cc1b737

Please sign in to comment.