molamola

Outputs

Each run writes a single self-contained HTML artefact into --out (required — molamola refuses rather than silently writing next to the input file; the directory is created if absent). The filename and contents differ by mode:

With --png (added in v0.2.0 for MultiQC / pipeline embeds), each embedded figure is also written as a standalone PNG alongside the HTML — SV mode writes <sample>.report.circos.png and one <sample>.report.rearrangement_<n>.png per panel, karyotype mode writes <sample>.karyotype.genome.png. Without --png the figures live only inside the HTML; right-click → save to extract one ad hoc.

Reference data

All bundled in molamola/data/:

molamola is bundled-only by design — no auto-download, no online lookups. The bundled-data total is ~15.5 MB. All bundled refs are reproducibly regeneratable from public sources by running scripts/derive_karyotype_refs.py and scripts/derive_gene_tables.py.

Circos plot (SV mode)

The SV report’s main figure; the derivative-chromosome panels follow it. From the rim inward:

Keys sit to the right of the disc. At the top, side by side: the density rings with their per-type event counts (events on the drawn chromosomes only), and the arc tiers. Below them, a small horizontal VAF bar; below that, the numbered candidate list, which has the rest of the column and names up to 25 candidates (“none” when there are none — the absence is stated, not implied). There is no cytoband key: the greyscale is the ISCN convention its readers already know. The ring key deliberately quotes no number for the alpha scale — the ramp saturates at the 99th-percentile bin, which its title says, and printing the busiest bin beside that only invited the reader to treat the wrong number as the top of the scale.

--only-sv-chroms draws only the chromosomes that carry an arc — for targeted or adaptive-sampling runs where most of a genome-wide disc would be empty. The run metadata block also states the rearrangement summary line.

Up to v0.6 the report also carried a linear genome map (one row per chromosome with density strips and BND arcs). It was removed: with ~100 arcs on a normal genome crossing 24 rows, an arc’s endpoints could not be read, and the circos carries the same density signal.

Derivative-chromosome panels (SV mode)

One panel per candidate rearrangement, below the circos and numbered as on it (up to 12; any further candidates are counted). Each shows the chromosomes as a cytogeneticist reads a karyotype, G-banded, pter at the top:

example panel

Synthetic t(8;21) breakpoints placed in RUNX1T1 and RUNX1 — an illustration, not a sample.

Karyotype coverage figure (karyotype mode)

One genome-wide figure, chr1 → chrY left to right:

The per-chromosome 3 × 8 A4-portrait grid that briefly shipped in v0.3 development was dropped before release — the genome-wide figure does the cytogenetics work on its own.

HTML report

A single self-contained HTML file (no server, no external CSS/JS, opens offline). Figures are embedded as base64 PNG data URIs. A collapsible run-metadata block at the bottom shows mode-specific provenance:

Designed as a portable review surface — emailable, archivable, no install needed for the reader.