A RasMol-like 3D viewer for macromolecular structures, for macOS, Windows and Linux. Open a PDBx/mmCIF file, then rotate it, show it as balls, sticks, ribbons or cartoon, wrap it in a molecular surface, and colour it by element, chain, residue, secondary structure, B-factor or AlphaFold confidence. Open a cryo-EM density map with it to see how the model fits.
Click a picture for the full-size screenshot. All structures are in data/.
Display
1aon
1–2 seconds.[ / ] to change the
level; it is shown in map units and σ. The map takes each colour from the nearest model atom, so it follows the
colour scheme.Structures
.cif.gz) or BinaryCIF (.bcif), read with RCSB’s
ciftools-java.--ss chooses Auto, From file or Computed.Interaction
Performance
1zpd) rotates at 96 fps in balls mode and faster in the others, and the
59,000-atom 1aon at 43 fps in balls and 184 fps in cartoon (Apple Silicon Mac, Retina resolution).Download the installer for your OS from the latest release:
.dmg (macOS), .msi (Windows) or .deb (Debian/Ubuntu). They include Java, so nothing else is needed.
The installers are not signed. On macOS, if JMVS “cannot be opened”, go to System Settings > Privacy & Security and
choose Open Anyway (or run xattr -dr com.apple.quarantine /Applications/JMVS.app). On Windows, choose More info
then Run anyway if SmartScreen warns about the installer.
You need any JDK from 17 to 27 to run Gradle; Gradle downloads the JDKs it compiles with.
To build and test:
./gradlew build
To run (optionally with a file; you can also use File > Open or drop a file on the window):
./gradlew :jmvs-app:run --args="data/1crn.cif"
Controls: left-drag rotates, right-drag or scroll zooms, middle-drag or Shift+left-drag pans, click selects an atom,
R resets the view, Esc clears the selection, [ and ] lower and raise a density map’s contour (Shift for bigger
steps).
Options choose the view from the command line, or render one screenshot or measure the frame rate and exit:
jmvs [file] [map] [--mode <id>] [--scheme <id>] [--ss auto|file|computed] [--surface ses|sas]
[--surface-opacity <0-1>] [--map <file>] [--contour <level>|<n>sigma] [--map-style surface|mesh]
[--map-opacity <0-1>] [--screenshot <png>] [--benchmark <seconds>]
Mode ids are balls, sticks, ballsandsticks, ribbons and cartoon; scheme ids are cpk, chain, group, structure,
bfactor and confidence. --ss chooses where secondary structure comes from: the file’s annotation if it has
any (auto, the default), the file only, or computed. For example, after ./gradlew :jmvs-app:installDist:
jmvs-app/build/install/jmvs/bin/jmvs data/4hhb.cif --mode ribbons --scheme chain --surface ses --screenshot 4hhb.png
jmvs-app/build/install/jmvs/bin/jmvs data/5me2.cif data/emd_3488.map.gz --mode sticks --scheme chain --contour 0.09
A file ending in .map, .mrc or .ccp4 (optionally .gz) opens as a density map; the contour starts at 2.5σ.
To build a native installer with a bundled Java runtime (.dmg, .msi or .deb for the current OS):
./gradlew :jmvs-app:jpackage
data/ is for.JMVS began in 1999 as a Computer Science dissertation: a RasMol-like viewer in Java3D. It was reworked in 2003 and
2022, and in 2026 it was modernised onto Java 25 and libGDX with AI assistance. LEGACY.md has the full
story, how the modernisation was done, and side-by-side screenshots against the 2022 version. The original app is
kept in legacy-app/.