diff --git a/workflow/conf/biohpc.config b/workflow/conf/biohpc.config index b2135584edf920a7fc432589ec0ae99a76d573e0..037d1e43e37c7daeb21489a00dff85701c8f8fd0 100644 --- a/workflow/conf/biohpc.config +++ b/workflow/conf/biohpc.config @@ -65,7 +65,7 @@ process { cpus = 32 } withName: multiqcReport { - module = ['python/3.6.1-2-anaconda', 'pandoc/2.7', 'multiqc/1.7'] + module = ['python/3.6.1-2-anaconda', 'pandoc/2.7', 'singularity/3.0.2'] executor = 'local' } } diff --git a/workflow/main.nf b/workflow/main.nf index f654471c74632c7efdd23836df63c9aba78c2099..bf87941930e7a3737c8610703d224887c113a4d1 100644 --- a/workflow/main.nf +++ b/workflow/main.nf @@ -653,14 +653,11 @@ process multiqcReport { script: """ - module load python/3.6.1-2-anaconda - module load pandoc/2.7 - module load multiqc/1.7 echo $workflow.nextflow.version > version_nextflow.txt - multiqc --version > version_multiqc.txt + singularity exec /project/shared/bicf_workflow_ref/singularity_images/multiqc.sif multiqc --version > version_multiqc.txt python --version &> version_python.txt python3 $baseDir/scripts/generate_references.py -r $references -o software_references python3 $baseDir/scripts/generate_versions.py -o software_versions - multiqc -c $multiqc . + singularity exec /project/shared/bicf_workflow_ref/singularity_images/multiqc.sif multiqc -c $multiqc . """ }