Subsections


Modifying report types in workflows

Modify Report Type can be added to workflows, where it can be particularly useful in cases where the same tool is present in the workflow multiple times.

Consider the example workflow in figure 38.42.

Image modify_report_type_in_workflow-genomics
Figure 38.42: An example workflow running two trimming jobs. The name of each trim element is different but the underlying tool is the same, so the reports generated have the same type. The report types are then modified, and reports with the modified type are used as input to the next step.

Links within summary reports to input reports

Where report types are modified, we recommend that the individual reports are output after the report type modification has been done, i.e. link an output element to the Modify Report Type element, as illustrated in figure 38.42. This preserves the links found within the summary reports to the input reports with modified types, see Combine Reports output and Create Sample Report output.

Quality control summary items

When adding summary items for the "Quality control" subsection in the sample report, we recommend that modified reports are linked to Create Sample Report before adding the summary items. This enables automatic identification of the relevant summary items for the modified reports.

If Create Sample Report is linked directly to an input element:

Content of summary reports

The content of the summary reports can only be defined for the default report types and applies to all reports, even those with a modified type, that originally had that report type (figure 38.44).

Image modify_report_type_change_contents-genomics
Figure 38.44: Defining the contents for trimming applies to all reports produced by the trimming tool, regardless of their report type.