nf-co2footprint @ 1.4.0
Summary
The nf-co2footprint plugin estimates the energy consumption and CO₂ footprint of Nextflow pipeline runs. It calculates energy consumption for each pipeline task based on Nextflow resource usage metrics and compute system power consumption information, then uses carbon intensity data to estimate CO₂ emissions. The calculation is based on the carbon footprint computation method developed in the Green Algorithms Project. The plugin generates detailed TXT carbon footprint reports containing energy consumption, estimated CO₂ emissions, and other relevant metrics for each task, along with an HTML report showing pipeline-wide carbon footprint information and visualizations of CO₂ emissions by process.
Get Started
Declare the plugin in your Nextflow pipeline configuration file:
plugins {
id 'nf-co2footprint@1.4.0'
}
This is all that is needed. Run your pipeline with the usual command:
nextflow run .nf
More details are available in the Nextflow plugin documentation and the configuration guide.
Examples
The plugin generates multiple output files for analysis:
- Detailed HTML Report: An interactive HTML report with carbon footprint metrics and visualizations showing CO₂ emissions across different processes
- Text Summary: A human-readable text summary of the carbon footprint analysis
- Trace File: A detailed trace file with task-level carbon metrics
- Provenance File: A JSON file documenting the computation provenance
The plugin also provides a CLI command for post-run carbon footprint calculations from Nextflow's execution trace files, as well as a function that can be included in Nextflow pipelines for integrated carbon tracking.
License
Apache 2.0
Everything in this repository that is not covered by NOTICE is published under the Apache 2.0 license.
| Nextflow version | >=26.04.0 |
|---|---|
| Depends On | - |
| Release Date | 10 Jul 2026 09:21:48 (UTC) |
| Release Notes | https://github.com/nextflow-io/nf-co2footprint/releases/tag/1.4.0 |
| Download URL | https://registry.nextflow.io/api/v1/plugins/nf-co2footprint/1.4.0/download/nf-co2footprint-1.4.0.zip |
| Store URL | https://public.cr.seqera.io/v2/nextflow/plugin/nf-co2footprint/blobs/sha256:f65e7ecb0593d258151c8af1557a3d63446bf79740fbfaf58e179323496da06d |
| Size | 4.7 MB |
| Checksum | 28220127cd38c55245a5da307cafc5298d8c44ce8b29c3e1434b879d365c3f229df6133bfa994f94b78c02a92e1f60ddad38c71fa5c0a1df8d07fa0a24a239f3 |
| Total downloads | 22 View trends |
| Security Scan |
| Version | Nextflow version | Date | Status | Downloads |
|---|---|---|---|---|
| 1.4.0 | >=26.04.0 | 10 Jul 2026 09:21:48 (UTC) | 22 | |
| 1.3.0 | >=26.04.0 | 08 May 2026 08:21:58 (UTC) | 52 | |
| 1.2.1 | >=25.10.0 | 10 Apr 2026 12:50:17 (UTC) | 62 | |
| 1.2.0 | >=25.10.0 | 06 Mar 2026 13:04:48 (UTC) | 42 | |
| 1.1.0 | >=24.10.6 | 07 Nov 2025 15:25:39 (UTC) | 308 | |
| 1.0.0 | >=24.01.0-edge | 19 Aug 2025 08:44:52 (UTC) | 4.4K | |
| 1.0.0-rc.3 | >=24.01.0-edge | 31 Jul 2025 09:14:20 (UTC) | 87 | |
| 1.0.0-rc.2 | >=24.01.0-edge | 24 Jul 2025 14:53:40 (UTC) | 69 | |
| 1.0.0-rc.1 | >=24.01.0-edge | 14 Jul 2025 07:26:50 (UTC) | 86 | |
| 1.0.0-rc | >=24.01.0-edge | 02 Jul 2025 14:30:00 (UTC) | 111 | |
| 1.0.0-beta1 | >=24.01.0-edge | 23 Jan 2025 09:47:07 (UTC) | 2.4K | |
| 1.0.0-beta | >=23.07.0 | 17 Jan 2024 09:46:46 (UTC) | 11.3K |