Create Sample Report

Create Sample Report takes reports relating to a single sample as input and summarizes their contents. A single summary report is generated containing an overview of the analysis of that sample. The report content and its order is configurable. Summary items can be added to a "Quality control" subsection of the sample report, offering a quick overview of the most important quality control metrics.

Creating a sample report

To create a sample report, go to:

        Toolbox | Utility Tools (Image utilities_closed_16_n_p) | Reports (Image reporttools_folder_closed_16_n_p) | Create Sample Report (Image sample_report_16_h_p)

To see a list of tools that produce reports that can be used as input, click on the (Image info_guide_16_h_p) icon in the top right corner of the input selection wizard (figure 37.16).

Image supported_reports-genomics
Figure 37.16: Clicking on the info icon at the top right corner of the input selection wizard opens a window showing a list of tools that produce supported reports. Text entered in the field at the top limits the list to just tools with names containing the search term.

One section is included for each report type provided as input, with the type determining the title of the corresponding section. See Report types and sample report content below for further details.

Specifying the order of the sections in the report

When more than one report type is provided as input, the order of the sections in the output report is configurable in the "Set order" wizard step:

Image createsamplereport_order
Figure 37.17: When more than one report type is provided as input, the order of the sections can be configured in the "Set order" wizard step.

The section order is also reflected in the "Quality control" subsection.

When Create Sample Report is included in a workflow, sections are ordered according to the order of the inputs. See Ordering inputs for information about ordering inputs in workflows.

Defining quality control metrics

The "Quality control" subsection can be configured in the "Set QC" wizard step (figure 37.19). The section will not be included in the sample report when no summary items are added. The Add button opens a dialog where summary items can be selected (figure 37.18).

Image createsamplereport_add_summary_items
Figure 37.18: Adding summary items to the "Quality control" subsection. To the left are the report types for which summary items can be added. To the right are the available summary items for the selected report type.

Quality control conditions can be specified for summary items if desired (figure 37.19). When a condition is met, that item will be highlighted in green in the "Quality control" subsection of the sample report. If the condition is not met, that item will be highlighted in yellow or red, depending on how the condition has been configured.

To configure a condition for a summary item, supply a threshold value and the operator to use to perform the comparison, and the color to use in the report if the condition is not met.

Summary items can be added more than once, and different conditions can be configured for each instance.

Image createsamplereport_configure_qcsummary
Figure 37.19: Configuring conditions for the "Quality control" subsection. Summary items can be included without conditions (e.g., "Number of reads in data set"), or have multiple conditions defined (e.g. "Average length after trim").

An example: The following would be added to the "Quality control" subsection for the configuration shown in figure 37.19:

See Create Sample Report output for more details.

Setting the sample name

The name of the sample for which the sample report is created is used when combining sample reports (see Combine Reports). This can be customized in the "Set QC" wizard step (figure 37.19):

Specifying the content of the report

The sections to include in the report are configured in the "Set contents" wizard step (figure 37.20). This includes a general summary section that appears at the top of the report when included.

Where available, individual subsections and summary items can also be specified. Where only some subsections or summary items are excluded, the checkbox for the parent section(s) are highlighted in for visibility.

Image createsamplereport_exclude
Figure 37.20: The content of the sample report is configured in the "Set contents" wizard step. Sections with a check in the box are included, while those without a check are excluded from the sample report. For visibility, sections where some contents have been excluded have checkboxes highlighted.

Reusing configurations

Configurations defined previously can be used in subsequent runs.

Configurations can be copied in two ways:

Copied configurations can be pasted into a text file for later use.

A copied configuration can be pasted into the wizard step using the Paste button.

Pasting has the following effects:

The history of a report output by Create Sample Report contains the order of the sections (Order reports), the summary items to be added to the "Quality control" subsection (Metrics), and the excluded sections/subsections/summary items (Exclude) (figure 37.21). These can be selected, copied, and then pasted into the "Set order"/"Set QC"/"Set contents" wizard steps wizard steps, respectively, in a subsequent run. Alternatively, the entire history can be selected, copied, and then pasted in each wizard step. Only the relevant configuration is pasted into each step.

Image createsamplereport_from_history
Figure 37.21: The history of a report output by Create Sample Report with the parameters selected, ready to be copied.

Report types and sample report content

Reports that can be supplied as input have a report type. The type of a report affects the placement of its summary information in the output. Specifically:

The type of a report can be seen in the Element Info (Image element_info_16_n_p) view for that report.

Image combinable_element_info-genomics
Figure 37.22: The type of a report can be found in the Element Info view of reports that are supported as input for tools that summarize reports.



Subsections