0.1.0
With this in your config:
plugins { id 'nf-versions' }Do stuff like:
include { bwaMem2Version; samtoolsVersion } from 'plugin/nf-versions'
process ALIGN {
output:
eval({ bwaMem2Version() }), topic: "versions"
eval({ samtoolsVersion() }), topic: "versions"
script:
"""
bwa-mem2 mem ... | samtools sort ...
"""
}And:
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())
}