Identifying workflow and task inputs and outputs
Inputs and outputs are defined in the WDL.and can be at the "workflow" or the "task" level. Terra interprets the WDL and provides an input "form" to fill out. The outputs part of the form is optional. To access the inputs and outputs forms as well as more details on the inner workings of the WDL, click on the workflow card from within the Workflows page.
To learn more about configuring workflow inputs and outputs, see this article.
Understanding where the inputs and outputs are used by the WDL can help with troubleshooting, if your submission fails.
This is an example of what you will see after clicking on the workflow card. There are separate forms for the WDL script, inputs, and outputs:
How many workflows and how many tasks are in the WDL?
Answer: The WDL includes one workflow - CramToBamFlow (1) with two tasks - CramToBamTask (2) and ValidateSameFile (3).
You can identify tasks by the "call" command. There are inputs listed for the workflow and separately for the tasks, followed by outputs for the workflow.
In the Inputs tab, you can tell the difference between workflow inputs and task inputs by looking at the name in the first column. The first four inputs are the workflow inputs (i.e. correspond to the workflow, CramToBamFlow) according to the WDL.