Skip to content

Commit

Permalink
fix output type of vadr_alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Jan 23, 2025
1 parent b129529 commit 76b9d99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pipes/WDL/tasks/tasks_ncbi.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ task vadr {
File feature_tbl = "~{out_base}.vadr.tbl"
Int num_alerts = read_int("NUM_ALERTS")
File alerts_list = "~{out_base}/~{out_base}.vadr.alt.list"
Array[Array[String]] alerts = read_tsv("~{out_base}.vadr.alerts.tsv")
Array[String] alerts = read_lines("~{out_base}.vadr.alerts.tsv")
File outputs_tgz = "~{out_base}.vadr.tar.gz"
Boolean pass = num_alerts==0
String vadr_docker = docker
Expand Down
4 changes: 2 additions & 2 deletions pipes/WDL/workflows/genbank_single.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ workflow genbank_single {
File genbank_source_table = biosample_to_genbank.genbank_source_modifier_table
File annotation_tbl = feature_tbl

Boolean? vadr_pass = vadr.pass
Array[Array[String]] vadr_alerts = select_first([vadr.alerts, [[]]])
Boolean? vadr_pass = vadr.pass
Array[String] vadr_alerts = select_first([vadr.alerts, []])

File? genbank_submission_sqn = table2asn.genbank_submission_sqn
File? genbank_preview_file = table2asn.genbank_preview_file
Expand Down

0 comments on commit 76b9d99

Please sign in to comment.