Skip to content

Commit 12766cd

Browse files
committed
Add nf-co2 plugin and configuration
1 parent 6ac08ad commit 12766cd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

nextflow.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,14 @@ manifest {
339339
// Nextflow plugins
340340
plugins {
341341
id '[email protected]' // Validation of pipeline parameters and creation of an input channel from a sample sheet
342+
id '[email protected]' // Calculate the carbon footprint of a Nextflow pipeline
343+
}
344+
345+
// CO2 footprint calculation
346+
co2footprint {
347+
traceFile = "${params.outdir}/pipeline_info/co2footprint_trace_${params.trace_report_suffix}.txt"
348+
reportFile = "${params.outdir}/pipeline_info/co2footprint_report_${params.trace_report_suffix}.html"
349+
summaryFile = "${params.outdir}/pipeline_info/co2footprint_summary_${params.trace_report_suffix}.txt"
342350
}
343351

344352
validation {

0 commit comments

Comments
 (0)