- Links within summary reports to input reports
- Quality control summary items
- Content of summary reports
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.
- Two Trim Reads workflow elements, named "Trim by Quality" and "Trim by Ambiguous", to reflect the type of trimming performed.
- Two Modify Report Type workflow elements, named "Modify Report Type to Trim by Quality" and "Modify Report Type to Trim by Ambiguous", to reflect which reports it modifies and the type it sets.
- One Create Sample Report workflow element, which uses the two trim reads reports with modified types.
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:
- Check Apply to custom report type and specify the report type for which the summary item should be used (figure 38.43).
Figure 38.43: Adding the summary item "Average length after trim" for the trim report with report type "Trim by Ambiguous". - Uncheck Apply to custom report type to use the summary item for the reports with default types.
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).
Figure 38.44: Defining the contents for trimming applies to all reports produced by the trimming tool, regardless of their report type.
