@@ -50,28 +50,28 @@ process GetVersionAll {
5050 publishDir directoryMap. multiQC, mode: ' link'
5151
5252 input:
53- file(versions) from Channel . fromPath(" ${ directoryMap.version} /*" ). collect()
53+ file(versions) from Channel . fromPath(" ${ directoryMap.version} /*" ). collect(). ifEmpty(file ( " empty " ))
5454
5555 output:
56- file (" tool_versions_mqc.yaml" ) into versionsForMultiQC
56+ file (" tool_versions_mqc.yaml" ) into versionsForMultiQC
5757
5858 when: ! params. noReports
5959
6060 script:
6161 """
62- bcftools version > v_bcftools.txt
62+ bcftools version > v_bcftools.txt 2>&1 || true
6363 bwa &> v_bwa.txt 2>&1 || true
64- configManta.py --version > v_manta.txt
65- configureStrelkaGermlineWorkflow.py --version > v_strelka.txt
66- echo "${ params.version} " &> v_sarek.txt
67- echo "${ workflow.nextflow.version} " &> v_nextflow.txt
68- fastqc -v > v_fastqc.txt
69- freebayes --version > v_freebayes.txt
70- gatk ApplyBQSR --help 2>&1 | grep Version: > v_gatk.txt
71- multiqc --version &> v_multiqc.txt
72- qualimap --version &> v_qualimap.txt
73- samtools --version &> v_samtools.txt
74- vcftools --version > v_vcftools.txt
64+ configManta.py --version > v_manta.txt 2>&1 || true
65+ configureStrelkaGermlineWorkflow.py --version > v_strelka.txt 2>&1 || true
66+ echo "${ params.version} " &> v_sarek.txt 2>&1 || true
67+ echo "${ workflow.nextflow.version} " &> v_nextflow.txt 2>&1 || true
68+ fastqc -v > v_fastqc.txt 2>&1 || true
69+ freebayes --version > v_freebayes.txt 2>&1 || true
70+ gatk ApplyBQSR --help 2>&1 | grep Version: > v_gatk.txt 2>&1 || true
71+ multiqc --version &> v_multiqc.txt 2>&1 || true
72+ qualimap --version &> v_qualimap.txt 2>&1 || true
73+ samtools --version &> v_samtools.txt 2>&1 || true
74+ vcftools --version & > v_vcftools.txt 2>&1 || true
7575
7676 scrape_tool_versions.py &> tool_versions_mqc.yaml
7777 """
0 commit comments