nextflow-io/nextflow

In summary report, allow breakdowns by sub-workflow for processes

Open

#4,751 opened on Feb 16, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Groovy (3,382 stars) (784 forks)batch import
good first issuestale

Description

New feature

I would like to request a (static) config option, or perhaps a (dynamic) toggle in the interactive plotly figures to allow me to de-aggregate process resource reports based on which sub-workflows they were executed under.

Usage scenario

I re-use the same process definitions in different sub-workflows in my main nextflow workflow (see https://github.com/nextflow-io/nextflow/discussions/4750 for more on this). When I look at the resulting "Nextflow Workflow Report" all the processes are aggregated together in the figures.

Suggest implementation

It appears this information is available inside the existing report data, as in the table at the end, processes are labelled <NAMED_SUB_WORKFLOW>:<DEEPER_NAMED_SUBWORKFLOW>:<PROCESS>. Breaking down the data using the subworkflow labels should thus be fairly easy.

Contributor guide

In summary report, allow breakdowns by sub-workflow for processes · nextflow-io/nextflow#4751 | Good First Issue