The dockstore tool launch
complains with the following error message in the case of using “sub-workflow” in another WDL file. But it’s possible to create a WDL file with the task and command using sub workflow that is defined in the WDL 1.0 specification document.
$ dockstore --version
Dockstore version 1.13.0-rc.0
The latest stable version is 1.12.0
You are currently on the latest unstable version. If you wish to upgrade to the latest stable version, please use the following command:
dockstore --upgrade-stable
$ make run
dockstore tool launch \
--local-entry "bio-diversity-genomics-garg.wdl" \
--json "bio-diversity-genomics-garg.inputs.json"
15:27:23.295 [main] ERROR io.dockstore.client.cli.ArgumentUtility - Required fields that are missing from WDL file : 'task' 'command'
$ cat bio-diversity-genomics-garg.wdl
version 1.0
import "estimation.wdl" as estimation_wdl
workflow bio_diversity_genomics {
input {
File input_file
# "HIFI" or "ONT"
String data_type = "HIFI"
}
call estimation_wdl.estimation {
input:
input_file=input_file
}
output {
File report = estimation.report
File table_ktab = estimation.table_ktab
}
}
As a workaround, I am setting a dummy task in the mail WDL file. But this is not ideal.