MultiQC is a reporting tool that parses summary statistics from results and log files generated by other bioinformatics tools.
Python, Matplotlib, others managed by pip install
# Assumes current working directory is the top-level multiqc-docker-singularity directory
docker build -t multiqc:1.14 . # tag should match software version
- Can do this on Google shell
docker run --rm -it multiqc:1.14 multiqc --help
(skip if this image is already on your system)
https://github.com/mattgalbraith/singularity-docker
docker images
docker save <IMAGE ID> -o multiqc1.14-docker.tar && gzip multiqc1.14-docker.tar # = IMAGE_ID of multiqc image
docker run -v "$PWD":/data --rm -it singularity:1.1.5 bash -c "singularity build /data/multiqc1.14.sif docker-archive:///data/multiqc1.14-docker.tar.gz"
NB: On Apple M1/M2 machines ensure Singularity image is built with x86_64 architecture or sif may get built with arm64
Next, transfer the multiqc1.14.sif.sif file to the system on which you want to run MultiQC from the Singularity container
# set up path to the Singularity container
MULTIQC_SIF=path/to/multiqc1.14.sif.sif
# Test that MultiQC can run from Singularity container
singularity run $MULTIQC_SIF multiqc --help # depending on system/version, singularity may be called apptainer