Interactive visualization and analysis of multi-genome alignments in the browser.
A modern web reimplementation of the Mauve genome alignment viewer, inspired by PATRIC3/mauve-viewer.
This project is built entirely using Claude Opus 4.6. It follows a specification-driven development approach based on the original Mauve project, using subagents and instruction files to enforce coding standards, testing, and feature completeness. The project in its current state may contain bugs. Bug reports are welcome via issues.
- Visualize multi-genome alignments with colored Locally Collinear Blocks (LCBs) and connecting lines
- Three display modes: LCB overview, ungapped matches, and similarity profiles
- Zoom from full-genome overview down to individual nucleotides (1x to 100,000x)
- Overlay genomic annotations (CDS, tRNA, rRNA) with hover tooltips and NCBI links
- Export SNPs, gaps, permutations, positional orthologs, identity matrices, and more
- Drag-and-drop file loading with automatic format detection (XMFA, GenBank, EMBL, and others)
- Multiple color schemes highlighting conservation, multiplicity, and rearrangements
- Open Mauve Viewer in your browser.
- Drag and drop an alignment file (
.xmfa,.mauve,.json) onto the drop zone, or click to pick a file. - Optionally load annotation files (
.gbk,.embl,.xml) alongside the alignment. - Explore: zoom with Ctrl+scroll, pan by dragging, hover to see homologous positions across genomes.
See the File Formats guide for all supported formats and limits.
Requires Node.js 24 or later.
git clone https://github.com/jonperron/mauve-viewer.git
cd mauve-viewer
npm install
npm run devThe development server starts at http://localhost:5173.
A Dockerfile is included. Pre-built images are available from the container registry:
docker pull ghcr.io/jonperron/mauve-viewer
docker run -p 8080:80 ghcr.io/jonperron/mauve-viewerFull user guides are available in the documentation:
- File Formats — Supported input and auxiliary formats
- Genome Alignment — Run new alignments with server-side execution
- Viewer — Multi-panel layout and display modes
- Navigation — Zoom, pan, cursor, region selection, and feature search
- Annotations — Genomic feature display and interaction
- Color Schemes — Coloring options for alignment blocks
- Genome Controls — Reorder, hide, and set reference genome
- Data Export — Export SNPs, gaps, permutations, orthologs, and more
- Image Export and Print — Save images and print
- Keyboard Shortcuts — Quick reference
Found a bug or have a feature request? Open an issue.
If you use Mauve Viewer in your research, please cite the original Mauve papers:
Darling, A.E., Mau, B., and Perna, N.T. (2010) progressiveMauve: Multiple Genome Alignment with Gene Gain, Loss and Rearrangement. PLoS ONE, 5(6): e11147. doi:10.1371/journal.pone.0011147
Darling, A.C.E., Mau, B., Blattner, F.R., and Perna, N.T. (2004) Mauve: Multiple Alignment of Conserved Genomic Sequence With Rearrangements. Genome Research, 14(7): 1394–1403. doi:10.1101/gr.2289704
