Skip to content

Commit

Permalink
output ped from ValidatePedFile to enforce order of execution
Browse files Browse the repository at this point in the history
  • Loading branch information
epiercehoffman committed Aug 17, 2023
1 parent 6dab052 commit 04c8384
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion wdl/GatherBatchEvidence.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ workflow GatherBatchEvidence {
call util.SubsetPedFile {
input:
ped_file = ped_file,
ped_file = ValidatePedFile.output_ped,
sample_list = write_lines(samples_batch),
subset_name = batch,
sv_base_mini_docker = sv_base_mini_docker,
Expand Down
5 changes: 4 additions & 1 deletion wdl/Utils.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,13 @@ task ValidatePedFile {
set -euo pipefail
python opt/sv-pipeline/scripts/validate_ped.py -p ~{ped_file} -s {sample_list}
# no outputs - task will either succeed or fail with details in log file
>>>
output {
File output_ped = ped_file
}

runtime {
cpu: select_first([runtime_attr.cpu_cores, default_attr.cpu_cores])
memory: select_first([runtime_attr.mem_gb, default_attr.mem_gb]) + " GiB"
Expand Down

0 comments on commit 04c8384

Please sign in to comment.