Hello :slightly_smiling_face: In the current nf-co...
# tools
j
Hello šŸ™‚ In the current nf-core template, software versions are collected like this:
Copy code
// Collate and save software versions
    softwareVersionsToYAML(ch_versions)
        .collectFile(
            storeDir: "${params.outdir}/pipeline_info",
            name: 'nf_core_'  +  'diseasemodulediscovery_software_'  + 'mqc_'  + 'versions.yml',
            sort: true,
            newLine: true
        ).set { ch_collated_versions }
I noticed, that this can lead to inconsistencies when used with the resume function. In the following scenario: • pipeline runs successfully with all steps included • the result directory is then deleted (but not work) • the pipeline runs again but only with a subset of steps • and then again with resume using all steps the software versions of processes omitted in the second run are then not listed in the multiqc report This is an edge case, but could be prevented using cache: false in the collectFile step.
Should I create an issue or is this intentional/not relevant? :)
p
Definitely not intentional and it's a good point šŸ‘šŸ» Please create an issue šŸ™šŸ»
We're about to change a bunch of how versions are handled (using
topic
channels and
eval
), but I think that this statement is unaffected šŸ¤” So definitely worth flagging šŸ‘šŸ»
šŸ‘ 1
j