×

nf-versions @ 0.3.0

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

Use pyPackageVersion() for custom Python tools or libraries:

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

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

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

Custom R Libraries

Use rLibraryVersion() for R libraries, resolved with packageVersion():

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

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

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

Collating Versions for MultiQC

In your workflow, mix the versions topic channel through collateVersions() before passing to 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())
}

Supported Tools

Plugin Function Tool
bcftoolsVersion() bcftools
bedtoolsVersion() bedtools
bwaVersion() bwa
bwaMem2Version() bwa-mem2
falcoVersion() falco
fastpVersion() fastp
fastqcRsVersion() fastqc-rs
fgbioVersion() fgbio
mosdepthVersion() mosdepth
picardVersion() picard
revtagVersion() revtag
sambambaVersion() sambamba
samtoolsVersion() samtools
splitcodeVersion() splitcode

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 21:57:09 (UTC)
Release Notes https://github.com/fulcrumgenomics/nf-versions/releases/tag/0.3.0
Download URL https://registry.nextflow.io/api/v1/plugins/nf-versions/0.3.0/download/nf-versions-0.3.0.zip
Store URL https://public.cr.seqera.io/v2/nextflow/plugin/nf-versions/blobs/sha256:cc28641db777f6ec465cc340518d7d37da2ab7c4bbc442970be4a47627478ce4
Size 8.9 KB
Checksum beba89229b29f95b76c2e62a898e24ff6f3cbf78cfbeb42ede8eb66c6817f6d348cdb415f9f4660ee3b6847e5bcaf58ded8057ea4e6b763f68e011a2877b9719
Total downloads 27 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