×

nf-crg-report @ 1.1.8

Provider: biocorecrg
Claimed: 18 Jun 2026 10:59:53 (UTC)
Description: The nf-crg-report plugin generates customizable execution, task status, and sample status reports for Nextflow workflows in JSON, HTML, and TSV formats, with support for cost estimation and email notifications. It solves the problem of tracking workflow progress and resource consumption across complex pipelines. Scientists and bioinformaticians managing Nextflow-based data processing workflows would use this to monitor job execution, diagnose failures, and estimate computational costs.
Latest version: 1.1.9
Total downloads: 6 View trends

Summary

The nf-crg-report plugin provides multiple configurable report types for 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 task execution based on configurable pricing models.

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'
    outputDir = './reports'
    prefix = 'myworkflow-'
    suffix = "-${new Date().format('yyyyMMdd')}"
    createLinkToLatestReport = true

    // Report specific options
    executionReport {
        enabled = true
        createLinkToLatestReport = false // Override global setting
    }

    taskStatusReport {
        enabled = true
        outputFilename = 'task-status-report' // Specify custom output filename
        format = 'html' // Overrides format in nfreport scope
        htmlTemplatePath = 'task-status-report-template.html' // Use custom HTML template to render report
    }

    sampleStatusReport {
        enabled = true
        format = 'html' // Overrides format in nfreport scope
    }
}

Examples

Basic Configuration with All Report Types

nfreport {
    outputDir = './reports'
    prefix = 'myworkflow-'
    createLinkToLatestReport = true

    // Cost and pricing configuration
    costs {
        priceAPI = 'https://sit.crg.es/fees' // Alternative: priceJsonPath = './prices.json'
        defaultGpuMemGb = 16
        currency = 'EUR'
    }

    // Execution report configuration
    executionReport {
        enabled = true
    }

    // Task status JSON report
    taskStatusReport {
        enabled = true
    }

    // Sample status JSON report
    sampleStatusReport {
        enabled = true
        extractSampleNameFrom = 'meta_map'
        sampleNameMetaKeyPattern = 'sample_id'
    }

    // Email notifications
    email {
        enabled = true
        subject = "Workflow Report"
        to = "user@example.com"
        cc = "cc@example.com"
        bcc = "bcc@example.com"
    }
}

Sample Status Report with Meta Map Extraction

nfreport {
    sampleStatusReport {
        enabled = true
        extractSampleNameFrom = 'meta_map'  // Options: 'tag' (default) or 'meta_map'
        sampleNameMetaKeyPattern = 'sample_id' // Pattern for extracting from metadata maps (will match meta maps like [sample_id: 'sample-01', ...])
    }
}

Pricing JSON Format

{
  "currency": "EUR",
  "kCPUHr": 9.69,
  "kGBHr": 1.08,
  "kGPUGBHr": 11.63,
  "TBMonth": 3.3
}

Testing with Nextflow

make assemble
make install
nextflow run hello -plugins nf-crg-report@1.1.8

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 17:07:20 (UTC)
Release Notes -
Download URL https://registry.nextflow.io/api/v1/plugins/nf-crg-report/1.1.8/download/nf-crg-report-1.1.8.zip
Store URL https://public.cr.seqera.io/v2/nextflow/plugin/nf-crg-report/blobs/sha256:e69b1fcf5c53bd2874b0aae2f894db032507dc190609d19bad4b74daec9774ae
Size 998.2 KB
Checksum 3812e46ff96bf68dd6d5c98c8e8970306558e6358a1c6a95f4a1ea5e00cfa40f3f434baaf90b6a8cbae1791e83da5e4707bb721412998cca119cabd62a7b4bff
Total downloads 0 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