Create Report from Table
Create Report from Table takes as input any element with a table view and generates a report containing a customizable representation of that view. If the input element has multiple table views, only its default view is used.
Filtering the input element before running the tool is recommended to reduce the number of rows and avoid generating long reports. Filtering can be done interactively in the table view or non-interactively using a filtering tool.
To run the tool, go to:
Tools | Utility Tools (
) | Reports (
) | Create Report from Table (
)
The following options can be configured (figure 38.31):
Figure 38.32: Options for creating a report from a sequence list table view. In this example, three columns are added to the report, the Size column is renamed to Length and is displayed only as a percentage, only rows that passed previous filtering are included, rows are sorted in descending order by Length and in ascending order by Name, and two summary rows are included.
- Columns Columns from the input element to include in the output report.
- Column presentation Click the add (
) button to open the "Column presentation" dialog, where the following can be configured for each column included in the report (figure 38.32):
- New name (Optional) The name to use for the column in the report. Shorter names are recommended. If not set, the original column name is used.
- Omit original column When checked, the original column values are omitted from the report. This option requires that Add % column is also checked.
- Add % column When checked, a new column is added to the report with "(%)" appended to its name. Each value in the new column shows the corresponding input value as a percentage, calculated by multiplying the input value by 100 and dividing it by the sum of all values in the input column.
All rows in the input element are used in the calculation, regardless of the Rows option.
If this option is checked for a column without numerical values or for a column containing negative numbers, the resulting percentage column is empty.
Figure 38.33: The "Column presentation" dialog allows renaming columns, omitting the original column, and including a percentage version of the column.
- New name (Optional) The name to use for the column in the report. Shorter names are recommended. If not set, the original column name is used.
- Rows Rows to include in the report:
- All rows Includes all rows from the input element.
- PASS rows If the input contains a "Filter" column, only rows with no value in this column or with the value PASS are included. If the "Filter" column is not present, all rows are included.
- All rows Includes all rows from the input element.
- Row sorting Sorts rows in the report according to the selected columns, in the order they are chosen. Each column can be used for ascending (
) or descending (
) sorting. If a column has been renamed in Column presentation, its new name is used here.
- Summary rows For each selected summary type, adds one row summarizing the numerical columns. Available summary types are Total, Minimum, Median, Maximum, Mean, and Standard deviation.
Summary rows are calculated only from the rows included in the report. Because percentages are calculated using all rows in the input element, the Total for a percentage column may be less than 100 when PASS rows is used (figure 38.33).
Figure 38.34: Output from Create Report from Table for a sequence list previously processed using Filter on Custom Criteria with the "Annotate" option. The "PASS rows" option is used. Because percentages are calculated using all input rows, the "Total" for the "Length (%)" column is less than 100.When summaries are included, rows are numbered in the first column of the table in the output report (figure 38.33).
Figure 38.33 shows the report generated using the options shown in figure 38.31.
The resulting report can be used directly or as input to Create Sample Report or Combine Reports.
- When the report is used as input to Create Sample Report, the sample report contains an additional section with table summaries: the number of rows and the lowest and highest values in each summary row present in the input report (figure 38.34). Only these table summaries can be added to the "Summary" section of the sample report.
Figure 38.31: The table summaries in a report produced by Create Sample Report from a report produced by Create Report from Table. - When the report is used as input to Combine Reports, only these table summaries are included in the combined report.
