ImageMagick is needed by Snakemake to generate the thumbnails for the
files in the HTML reports. Snakemake uses ImageMagick v7 (called via
magick convert, but on Ubuntu 20.04 only ImageMagick v6 (called via
convert) is available, so this commit adds a script to mimic
ImageMagick v7 using the available version.
How to test:
Run a snakemake workflow in which the Snakefile contains report detail about the files produced by the workflow (details on how to do it on the Snakemake documentation) and check the difference in the engine logs and generated report with and without these changes to the image.
ImageMagick is needed by Snakemake to generate the thumbnails for the files in the HTML reports. Snakemake uses ImageMagick v7 (called via
magick convert
, but on Ubuntu 20.04 only ImageMagick v6 (called viaconvert
) is available, so this commit adds a script to mimic ImageMagick v7 using the available version.How to test: Run a snakemake workflow in which the Snakefile contains report detail about the files produced by the workflow (details on how to do it on the Snakemake documentation) and check the difference in the engine logs and generated report with and without these changes to the image.
A Snakemake example that uses the roofit demo is available here: https://github.com/giuseppe-steduto/reana-demo-root6-roofit/tree/snakemake-improve-report