genomics-pipeline

Step 24: HTML Report

What This Does

Generates a self-contained HTML dashboard summarizing all pipeline results. Open it in any browser — no internet connection needed.

Why

The pipeline produces output across many directories in different formats (VCF, TSV, HTML, TXT). This step consolidates everything into a single visual report with color-coded status indicators, variant counts, and key findings.

Tool

bash + bcftools (for extracting counts from VCF files)

Docker Image

staphb/bcftools:1.21 (already used by other steps)

Input

All output directories from previous pipeline steps. The script automatically detects which steps have been run.

Command

./scripts/24-html-report.sh your_name

Output

A single file: ${GENOME_DIR}/${SAMPLE}/${SAMPLE}_report.html

Typically 10-30 KB. Contains:

Runtime

1-3 minutes (mostly Docker startup time for bcftools queries)

How to Open

# macOS
open ${GENOME_DIR}/${SAMPLE}/${SAMPLE}_report.html

# Linux
xdg-open ${GENOME_DIR}/${SAMPLE}/${SAMPLE}_report.html

# Windows (WSL)
start ${GENOME_DIR}/${SAMPLE}/${SAMPLE}_report.html

Notes