×

nf-versions @ 0.3.1

Provider: Fulcrum Genomics LLC
Claimed: 17 Mar 2026 21:27:04 (UTC)
Description: The nf-versions Nextflow plugin automatically collects CLI tool version information from bioinformatics processes and formats it for MultiQC integration, eliminating the need to manually specify version strings in scripts. It provides helper functions for popular tools like samtools, bwa, and FastQC, as well as custom version detection for Python and R packages. Bioinformatics workflow developers would use this plugin to streamline version tracking and reporting in their Nextflow pipelines.
Latest version: 0.4.0
Total downloads: 1.4K View trends

Summary

Collect CLI tool version information from Nextflow processes and collate it for MultiQC. Version strings are bash echo commands designed for use with Nextflow's eval output directive. They produce YAML-formatted lines that MultiQC can read directly. These helpers avoid the need to continuously and verbosely specify version strings in both script and stub blocks.

Get Started

Add the plugin to your Nextflow config:

plugins { id 'nf-versions' }

Examples

Version Functions in Nextflow Processes

include { bwaMem2Version; samtoolsVersion } from 'plugin/nf-versions'

process ALIGN {
    output:
    eval({bwaMem2Version()}), topic: "versions"
    eval({samtoolsVersion()}), topic: "versions"

    script:
    """
    bwa-mem2 mem ... | samtools sort ...
    """
}

Custom Python Libraries and Tools

include { pyPackageVersion } from 'plugin/nf-versions'

process SECRET_SAUCE {
    output:
    eval({pyPackageVersion("secret_sauce_lib")}), topic: "versions"

    script:
    """
    secret-sauce.py ...
    """
}

Custom R Libraries

include { rLibraryVersion } from 'plugin/nf-versions'

process RUN_ICHORCNA {
    output:
    eval({rLibraryVersion("ichorCNA")}), topic: "versions"

    script:
    """
    runIchorCNA.R ...
    """
}

Collating Versions for MultiQC

include { MULTIQC } from './modules/multiqc'
include { collateVersions } from 'plugin/nf-versions'

workflow {
    // ... pipeline logic ... //

    def qc = channel.empty()
    qc = qc.mix(channel.topic("for_multiqc"))
    qc = qc.mix(collateVersions(channel.topic("versions")))

    MULTIQC(qc.collect())
}

License

This plugin is published under the MIT license. Copyright © 2026 Fulcrum Genomics LLC.

Nextflow version >=25.10.0
Depends On -
Release Date 30 Jun 2026 23:40:31 (UTC)
Release Notes https://github.com/fulcrumgenomics/nf-versions/releases/tag/0.3.1
Download URL https://registry.nextflow.io/api/v1/plugins/nf-versions/0.3.1/download/nf-versions-0.3.1.zip
Store URL https://public.cr.seqera.io/v2/nextflow/plugin/nf-versions/blobs/sha256:62d809419cc9b60e10cceb198c4dd63952fb2f63764f30ab1bb15c3aeccc51a4
Size 8.9 KB
Checksum 86fced59c901154466952455ffdc7146066cd1066d4d093ba740fd7d8b0d80c58b40f53db683eeb95bd82f15fecf95695e55b1edd7a7228390f1af75dc91d933
Total downloads 50 View trends
Security Scan
Version Nextflow version Date Status Downloads
0.4.0 >=25.10.0 06 Jul 2026 20:55:12 (UTC) 1.2K
0.3.1 >=25.10.0 30 Jun 2026 23:40:31 (UTC) 50
0.3.0 >=25.10.0 30 Jun 2026 21:57:09 (UTC) 27
0.2.0 >=25.10.0 02 Apr 2026 17:58:07 (UTC) 126