This feature is only available in the Rust rewrite, pending merge upstream.

Report Templates

Overview

FastQC supports multiple HTML report templates via the --template / -t CLI flag. This works like MultiQC's template system: the default template produces the familiar FastQC report, while alternative templates can change the layout, styling, and chart format without affecting the analysis.

fastqc --template modern sample.fastq.gz

Available templates

classic (default)

The original FastQC report layout. Produces byte-identical HTML to Java FastQC, with PNG charts embedded as base64 data URIs and the same fixed sidebar + main content layout.

This is the default when --template is not specified.

modern

A redesigned report layout ported from upstream PR #161, inspired by fastqc-viz. Key features:

Text output (fastqc_data.txt, summary.txt) is identical regardless of which template is used. Only the HTML report and the icons in the zip archive differ.

SVG optimisations

The modern template applies several post-processing optimisations to the inline SVGs to keep file sizes small:

These optimisations reduce the modern template's file size to roughly 60% of the classic template, and to around 13% of the classic size when gzip-compressed (SVG text compresses far better than base64-encoded PNGs).

File size comparison

Example on a 27M-read FASTQ file:

Template Raw size Gzipped
classic (PNG base64) 392 KB 254 KB
modern (optimised SVG) 249 KB 33 KB