nf-crg-report @ 1.1.4
Summary
The nf-crg-report plugin provides multiple configurable report types for Nextflow workflows:
- 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. The plugin also supports cost estimation for task execution and email notifications.
Get Started
Add the plugin to your Nextflow configuration:
plugins {
id 'nf-crg-report'
}
Then configure the plugin in your nextflow.config file using the nfreport scope. Here's a basic example to enable all three report types:
nfreport {
outputDir = './reports'
format = 'json'
executionReport {
enabled = true
}
taskStatusReport {
enabled = true
}
sampleStatusReport {
enabled = true
}
}
To test the plugin without a local Nextflow installation:
- Build and install:
make install - Run a pipeline:
nextflow run hello -plugins nf-crg-report@1.1.4
Examples
Basic Configuration with All Reports
nfreport {
outputDir = './reports'
prefix = 'myworkflow-'
suffix = "-${new Date().format('yyyyMMdd')}"
createLinkToLatestReport = true
executionReport {
enabled = true
}
taskStatusReport {
enabled = true
}
sampleStatusReport {
enabled = true
}
}
Advanced Configuration with HTML Reports and Cost Tracking
nfreport {
outputDir = './reports'
prefix = 'myworkflow-'
createLinkToLatestReport = true
costs {
priceJsonPath = './prices.json'
currency = 'EUR'
defaultGpuMemGb = 16
}
executionReport {
enabled = true
}
taskStatusReport {
enabled = true
format = 'html'
htmlTemplatePath = 'task-status-report-template.html'
}
sampleStatusReport {
enabled = true
format = 'html'
extractSampleNameFrom = 'meta_map'
sampleNameMetaKeyPattern = 'sample_id'
}
email {
enabled = true
subject = "Workflow Report"
to = "user@example.com"
cc = "cc@example.com"
}
}
Sample Name Extraction from Metadata Map
nfreport {
sampleStatusReport {
enabled = true
extractSampleNameFrom = 'meta_map'
sampleNameMetaKeyPattern = 'sample_id'
printCompletionSummary = true
}
}
Pricing Configuration with JSON File
{
"currency": "EUR",
"kCPUHr": 9.69,
"kGBHr": 1.08,
"kGPUGBHr": 11.63,
"TBMonth": 3.3
}
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 | 18 Jun 2026 16:28:23 (UTC) |
| Release Notes | - |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-crg-report/1.1.4/download/nf-crg-report-1.1.4.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-crg-report/blobs/sha256:0f9b5b473910b64faa3465fa52a1b6212bd9f6535abbc75bb2eea8f090ac6a4e |
| Size | 997.4 KB |
| Checksum | 398183962c244000cede30e85bcdd4fcd08f44bad14c99399e9088e92277f897a199e4beb010fe0cdd62a550dd06406f37f7e4a89e7a76d1b867b3c9f15f8c41 |
| Total downloads | 1 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 1.1.9 | >=25.10.0 | 18 Jun 2026 17:12:33 (UTC) | 1 | |
| 1.1.8 | >=25.10.0 | 18 Jun 2026 17:07:20 (UTC) | 0 | |
| 1.1.7 | >=25.10.0 | 18 Jun 2026 16:59:41 (UTC) | 1 | |
| 1.1.6 | >=25.10.0 | 18 Jun 2026 16:55:13 (UTC) | 1 | |
| 1.1.5 | >=25.10.0 | 18 Jun 2026 16:47:27 (UTC) | 1 | |
| 1.1.4 | >=25.10.0 | 18 Jun 2026 16:28:23 (UTC) | 1 | |
| 1.1.3 | >=25.10.0 | 18 Jun 2026 16:23:57 (UTC) | 0 | |
| 1.1.2 | >=25.10.0 | 18 Jun 2026 16:18:22 (UTC) | 0 | |
| 1.1.1 | >=25.10.0 | 18 Jun 2026 16:02:38 (UTC) | 1 |