nf-crg-report @ 1.1.10
Summary
The nf-crg-report plugin provides multiple configurable report types for comprehensive reporting during Nextflow workflow execution:
- Execution Report: Provides a detailed overview of the workflow execution, including start/end times, parameters, and metadata.
- Task Status Report: Summarizes task execution details grouped by status (e.g., COMPLETED, FAILED, CACHED, RETRIED, ABORTED, IGNORED).
- Sample Status Report: Tracks sample processing across the workflow, with samples grouped by their processing status.
The reports can be generated in JSON, HTML, and TSV formats, with customizable templates for HTML reports and email notifications. The plugin also supports cost estimation for compute and storage resources.
Get Started
Add the plugin to your Nextflow configuration:
plugins {
id 'nf-crg-report'
}
Configure the plugin in your nextflow.config file using the nfreport scope:
nfreport {
// Global options
format = 'json' // or 'html' or 'tsv'
outputDir = './reports'
prefix = 'myworkflow-'
suffix = "-${new Date().format('yyyyMMdd')}"
createLinkToLatestReport = true
// Report specific options
executionReport {
enabled = true
}
taskStatusReport {
enabled = true
format = 'html'
htmlTemplatePath = 'task-status-report-template.html'
}
sampleStatusReport {
enabled = true
extractSampleNameFrom = 'meta_map'
sampleNameMetaKeyPattern = 'sample_id'
}
// Email notifications
email {
enabled = true
subject = "Workflow Report"
to = "user@example.com"
}
// Cost and pricing configuration
costs {
priceJsonPath = './prices.json'
currency = 'EUR'
}
}
Examples
Basic Configuration
nfreport {
outputDir = './reports'
prefix = 'myworkflow-'
createLinkToLatestReport = true
executionReport {
enabled = true
}
taskStatusReport {
enabled = true
}
sampleStatusReport {
enabled = true
}
}
Sample Status Report with Metadata Extraction
nfreport {
sampleStatusReport {
enabled = true
extractSampleNameFrom = 'meta_map'
sampleNameMetaKeyPattern = 'sample_id'
printCompletionSummary = true
}
}
When sample_id contains a list (e.g., [sample_id: ['sampleA', 'sampleB']]), the task will be tracked under both sampleA and sampleB.
Cost Estimation Configuration
nfreport {
costs {
priceJsonPath = './prices.json'
defaultGpuMemGb = 16
currency = 'EUR'
}
taskStatusReport {
enabled = true
format = 'html'
}
}
Example prices.json:
{
"currency": "EUR",
"kCPUHr": 9.69,
"kGBHr": 1.08,
"kGPUGBHr": 11.63,
"TBMonth": 3.3
}
Full Configuration Example
nfreport {
outputDir = './reports'
prefix = 'myworkflow-'
createLinkToLatestReport = true
costs {
priceAPI = 'https://sit.crg.es/fees'
defaultGpuMemGb = 16
currency = 'EUR'
}
executionReport {
enabled = true
}
taskStatusReport {
enabled = true
}
sampleStatusReport {
enabled = true
extractSampleNameFrom = 'meta_map'
sampleNameMetaKeyPattern = 'sample_id'
}
email {
enabled = true
subject = "Workflow Report"
to = "user@example.com"
cc = "cc@example.com"
}
}
License
This project is licensed under the Apache License, Version 2.0. See the COPYING file for details.
| Nextflow version | >=25.10.0 |
|---|---|
| Depends On | - |
| Release Date | 19 Jun 2026 09:08:12 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-crg-report/1.1.10/download/nf-crg-report-1.1.10.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-crg-report/blobs/sha256:0df1ebac6e8165e727729bcf30109cdfcdd9c0f46cf596bf404617ca17069578 |
| Size | 1002.5 KB |
| Checksum | 7333de4d4b187dcf6f0f0ae00bff604c866062addcb602b83f45b8bbba911698723bb2220826dcf882c66677a423f02ed8f3922efda0fcd896189364bf7c82a7 |
| Total downloads | 46 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 1.1.10 | >=25.10.0 | 19 Jun 2026 09:08:12 (UTC) | 46 | |
| 1.1.9 | >=25.10.0 | 18 Jun 2026 17:12:33 (UTC) | 41 | |
| 1.1.8 | >=25.10.0 | 18 Jun 2026 17:07:20 (UTC) | 32 | |
| 1.1.7 | >=25.10.0 | 18 Jun 2026 16:59:41 (UTC) | 33 | |
| 1.1.6 | >=25.10.0 | 18 Jun 2026 16:55:13 (UTC) | 34 | |
| 1.1.5 | >=25.10.0 | 18 Jun 2026 16:47:27 (UTC) | 34 | |
| 1.1.4 | >=25.10.0 | 18 Jun 2026 16:28:23 (UTC) | 33 | |
| 1.1.3 | >=25.10.0 | 18 Jun 2026 16:23:57 (UTC) | 32 | |
| 1.1.2 | >=25.10.0 | 18 Jun 2026 16:18:22 (UTC) | 32 | |
| 1.1.1 | >=25.10.0 | 18 Jun 2026 16:02:38 (UTC) | 33 |