Skip to content

Releases

v3.0.3.565

Choose a tag to compare

@github-actions github-actions released this 18 Nov 07:57
7c11844

CueMol 3.0.3 (build 565)

The main changes:

  • CueMol2 scenes keep their look (CueMol3): a scene saved by CueMol2 is
    drawn as CueMol2 drew it. New scenes get the CueMol3 look, and any scene can
    be switched to Legacy mode (CueMol2 look) in Scene Properties.
  • Camera inspector (CueMol3): a camera's name, source, stored view and
    visibility flags are shown and edited in the inspector, replacing the Edit
    vis flags dialog.
  • Long tasks show progress (CueMol3): saving, opening, surface generation,
    export and trajectory loading show what is running and for how long.
  • Actions follow the tab in front (CueMol3): with Settings or no tab in
    front, scene actions are disabled instead of misbehaving.

Scene look: CueMol3 and Legacy mode (CueMol3)

  • A qsc made by CueMol2 used to be drawn differently in CueMol3 (ribbons and
    nucleic acids). It now keeps the CueMol2 look; the CueMol3 look is carried
    per scene.
  • New scenes get the CueMol3 look. The New Tab dialog and Settings >
    Display > Compatibility
    can make Legacy mode the default for new
    scenes.
  • Scene Properties > Compatibility > Legacy mode (CueMol2 look) switches an
    open scene's look in one undoable step. The default colours of new renderers
    follow the look (palette colours, or CueMol2's colours in Legacy mode).
  • Save As offers "Ver 3.0 or later" as the default format, which refers to
    the CueMol3 look instead of embedding it. Saving as Ver 2.3 embeds it.
  • Known limitation: a CueMol3 qsc re-saved by CueMol2 built from this release
    may keep the Ver 3.0 form, which an older CueMol2 cannot read.

Cameras (CueMol3)

  • Camera inspector: the Camera pane has a Property button and a
    Properties... context menu item (double-click still applies the camera).
    The inspector shows the name, the source file (with Reload / Save), the
    stored view and the visibility flags, and follows the pane's selection.
  • Visibility flags are edited in the inspector: each change is one undo step,
    and Capture records the scene's current show / hide state. The separate
    Edit vis flags dialog is gone.
  • The __current camera (the current view point, also the default animation
    start) now exists in every scene from creation, is kept up to date, cannot
    be deleted or renamed, and is not part of the undo history. Save Current
    View
    no longer marks the scene modified or clears Redo.

Animation (CueMol3)

  • Dragging a strip in the Animation panel shows its length and start / end
    times next to the dragged edge.
  • The dragged edge snaps to a tenth of the ruler tick; hold Alt (Option) to
    drag freely. The timeline grows as a strip is dragged past its end.

Long tasks (CueMol3)

  • Saving and opening scenes, loading files, making molecular surfaces,
    exporting and saving objects, and loading MD trajectories show a card with
    the task, the file name and the elapsed seconds (with a progress bar for
    trajectories). The status bar shows the same instead of "Busy", and a task
    that took 5 s or more leaves its duration there.

Tabs, menus and windows (CueMol3)

  • With Settings or no tab in front, menu items, toolbar buttons, shortcuts and
    file drops that need a molecule view are disabled. The Console, Animation,
    Sequence and Trajectory panels ask you to switch to a molecule view tab.
  • The command line (tritium_cli), MCP, the agent and files opened from the
    OS run in the molecule view tab last in front, instead of creating a new
    scene.
  • The welcome screen has a new icon and lists the shortcuts usable with no
    tab open.
  • Resizing the main window or the Rendering window keeps the widths of the
    sidebar, the inspector and the Render Settings pane.
  • Toolbar: Open File and Save File As have clearer icons; Save As is now
    labelled Save File As.

Rendering (CueMol3)

  • The NPR Detail tab is laid out like the Render tab, and its numeric
    hatch fields can be dragged and stepped within their ranges.
  • The Render Settings pane no longer shows a horizontal scrollbar and a white
    corner.

Downloads

  • CueMol3 -- CueMol3-3.0.3.565-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-3.0.3.565-Windows-x64-Setup.exe (Windows),
    CueMol3-3.0.3.565-Linux-x64.AppImage and CueMol3-3.0.3.565-Linux-x64.deb
  • CueMol2 -- cuemol2_3.0.3.565_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

CueMol3 on macOS (Apple silicon) and Windows can update itself to this
release (Check for Updates).

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v3.0.2.560

Choose a tag to compare

@github-actions github-actions released this 14 Nov 03:08

CueMol 3.0.2 (build 560)

The main changes:

  • Animation (CueMol3): a new Rock element swings the view (rock,
    nutate or wobble); animation elements can be copied and pasted; the ChX and
    PyM consoles make camera motions (turn ... frames, roll, rock,
    wobble, movie.roll, movie.add_nutate, ...) as animation elements.
  • Styles view (CueMol3): style sets, their named colours and selections
    are edited in a new Styles sidebar view.
  • MD trajectories (CueMol3, MD Tools plugin): a dropped trajectory file
    can be attached to an open molecule, and topology-only prmtop / PSF files
    can be opened and given coordinates afterwards.
  • PyMOL 2.x sessions (CueMol2 core and CueMol3): .pse files saved by
    PyMOL 2.x (Python 3) open.

Animation (CueMol3)

  • Rock element: Add > Rock swings the view around the orientation it
    starts from. Its Pattern is Rock (back and forth about one axis),
    Nutate (the view circles) or Wobble (a figure 8), with the swing angle,
    number of cycles, phase, aspect and an envelope (grow / shrink). An element
    starts without a jump wherever it is placed. A Rock and a Simple spin at the
    same time turn while swinging.
  • Copy / paste: in the Animation panel, Edit > Cut / Copy / Paste
    (Cmd+X / C / V) duplicate an element. A pasted element keeps its length,
    follows the selected element (or goes at the end) and gets a unique name.
    Pasting into another scene works.
  • Simple spin: the rotation angle has no range any more: a negative angle
    spins the other way and 720 spins twice.
  • The panel header no longer spills out of its row when the panel is narrow:
    controls that do not fit move into a ... menu.
  • A timeline emptied and begun again starts from the current view (the
    __current start camera is saved again), not from a camera saved before a
    molecule was loaded.

Camera motions from the consoles (CueMol3)

  • ChX console: turn y 2 180 (with a frame count) adds the turn to the
    animation and plays it once. roll, rock and wobble (and turn ... rock N / wobble N) run until stop, as one cycle played in a loop; stop
    puts the loop setting back.
  • PyM console: movie.add_roll, movie.add_rock, movie.add_nutate,
    movie.roll, movie.rock, movie.nutate and movie.tdroll add to the
    animation (play with mplay). rock starts and stops rocking (rock 1 /
    rock 0).
  • Speeds and phases follow ChimeraX and PyMOL roughly, not exactly.
    movie.screw, PyMOL's sweep_* settings and the movie.roll(...) Python
    call form are not supported.

Styles view (CueMol3)

  • A new Styles activity view lists the style sets the scene can see, in
    lookup order, with panes to edit a set's named Colors and
    Selections in place. Style sets are no longer in the scene tree.
  • Changing a named colour now redraws the ribbons that use it.
  • The bundled style sets are read-only; the user set stays editable.

MD trajectories (CueMol3, MD Tools plugin)

  • Dropping a .xtc / .dcd / .trr / .nc file asks which molecule to
    attach it to, listing the molecules whose atom count matches. The molecule
    becomes a trajectory with its own coordinates as the first frame.
  • prmtop and PSF topologies open without coordinates; coordinates (AMBER
    restart, NAMD .coor) or trajectories are attached afterwards. File >
    Open MD Trajectory
    accepts topology files.
  • Scenes with a reversed NAMD .coor + PSF source (srctype="namdcoor") no
    longer load.

Explorer, panes and dialogs (CueMol3)

  • The Explorer shows the Scene, Camera, Color and View panes; the separate
    View activity button is gone.
  • Dialogs start from the options last confirmed, also after a restart (file
    open, New Renderer, merge, superpose, APBS, Export PNG, ...). Dialogs that
    remember numeric parameters have a Defaults button.
  • Get PDB can fetch a ligand by its CCD code (ideal coordinates from
    RCSB), also as open ccd:ATP in the ChX console.
  • Nucleic acid renderer: the Base type has a None choice that leaves
    only the backbone tube.
  • Mol Struct pane: a chain with very many residues (an MD system's water)
    opens at once and adds residues as you scroll.
  • Undo history: repeated edits of the same value in the GUI are merged
    into one step once the history passes 20 steps (label ×N in the History
    pane).
  • ChX console: AlphaFold palettes (alphafold, pae, ...); a model
    fetched from AlphaFold DB keeps its pLDDT colouring for every renderer.

Fixes

  • PyMOL 2.x sessions (CueMol2 core and CueMol3): .pse files from
    Python 3 PyMOL failed with "Unknown opcode 41", or lost most atoms of a
    residue with duplicate atom names. They now load; clashing atom names are
    renamed. Bonds are still generated from distances, not read from the
    session. (Contributed by @AunderbTommy888.)
  • Adding a renderer to a molecule no longer resets the colours of its other
    renderers.
  • MD trajectories count as molecules: they get their own palette colour and
    appear in the molecule pickers. Superpose, morph, atom deletion and merge
    refuse them.
  • Multi-colour gradient edits on a molecule opened from the ChX console
    redraw and undo correctly again. Scripts that set iter.target = mol on an
    atom / residue / chain iterator must use iter.setTarget(mol).
  • Superposition: the default moving molecule is no longer the same as the
    reference.
  • A scene opened from Untitled 1.qsc is named Untitled 1, so a new scene
    becomes Untitled 2; tabs no longer show .qsc.

Downloads

  • CueMol3 -- CueMol3-3.0.2.560-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-3.0.2.560-Windows-x64-Setup.exe (Windows),
    CueMol3-3.0.2.560-Linux-x64.AppImage and CueMol3-3.0.2.560-Linux-x64.deb
  • CueMol2 -- cuemol2_3.0.2.560_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

CueMol3 on macOS (Apple silicon) and Windows can update itself to this
release (Check for Updates).

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v3.0.1.555

Choose a tag to compare

@github-actions github-actions released this 10 Nov 01:32

CueMol 3.0.1 (build 555)

The main changes:

  • Fetching from more databases (CueMol3): Get PDB and the consoles can
    fetch from PDBe, PDBj, PDB-REDO, AlphaFold DB and PubChem, EMDB maps from
    PDBj, and density maps from URLs.
  • Multi-colour B-factor gradients (CueMol2 core and CueMol3): B-factor
    colouring can use a gradient of any number of colours; AlphaFold models are
    coloured by pLDDT when fetched.
  • ChX console (CueMol3): many more ChimeraX commands and forms, checked
    against the official ChimeraX tutorials and figure scripts. Unsupported
    parts of a script are skipped with a warning instead of stopping it.
  • Startup scripts and style files (CueMol3): ~/.cuemol/ can hold
    scripts run at launch and extra style files.

Fetching entries and maps (CueMol3)

  • Get PDB has a Database switch (PDB / EMDB, AlphaFold DB, PubChem)
    and, for a PDB entry, a Server (RCSB, PDBe, PDBj, PDB-REDO). AlphaFold
    and PubChem entries are looked up before download (protein name, gene,
    organism, mean pLDDT / compound name, formula, weight).
  • AlphaFold models are coloured by pLDDT (ChimeraX's alphafold colours)
    as they are fetched. A PubChem compound opens as ball-and-stick.
  • EMDB maps from PDBj, besides wwPDB and EBI (Get PDB's Cryo-EM maps
    Source, fetch_emdb ... PDBJ).
  • New console ops fetch_entry (any of the sources above; recorded so a
    replay fetches the same entry) and fetch_map_url (a CCP4 / MRC map from a
    URL, .gz included, drawn as cryo-EM or crystallographic by what it
    contains).
  • A real PDB-REDO download could not be verified (pdb-redo.eu was down during
    testing).

Multi-colour B-factor gradients (CueMol2 core and CueMol3)

  • B-factor colouring takes a gradient of two or more colours over the
    absolute value (B-factor, occupancy or distance). Edits to the gradient
    can be undone and are saved in the scene.
  • Color pane (CueMol3): the B-factor deck has a multi-colour gradient
    switch, the gradient editor with a histogram of the atom values, and an
    AlphaFold pLDDT preset.
  • PyM console: spectrum b / q with three colours or more
    (rainbow, blue_white_red, ...) is drawn as a multi-colour gradient, as
    PyMOL draws it.

View fitting (CueMol2 core and CueMol3)

  • EMDB maps were framed on the unit cell and came out off-centre; maps are
    now fitted to their data, and an EM map is fitted to its shown isosurface
    when opened.
  • Focus fits a molecule to its shown atoms and a map to its shown
    contour. Fitting never zooms closer than 15 A, so a single atom does not
    fill the screen.
  • A molecule and a map with the same name are no longer mixed up (map
    boundaries, colouring by map, surfaces, around selections).

ChX console (CueMol3)

The console names are now PyM console and ChX console, as in the
CueMol3 documentation (Settings > Plugins shows these names).

  • Scripts run to the end: a command, keyword or specification the
    console does not support is skipped with a warning, and the rest of the
    script runs. Other errors still stop it.
  • open: database prefixes as ChimeraX (pdbe:, pdbj:, redo:,
    alphafold:, pubchem:, emdb:, ..., fromDatabase), URLs, several
    names at once, from eds (2Fo-Fc map as a grey mesh), from rcsb_bio /
    pdbe_bio, alphafold fetch. The first open into an empty scene sets
    the view; later ones leave it alone, as in ChimeraX.
  • New commands: volume (level, style, color, transparency,
    step, zone, sdLevel / rmsLevel, ...), lighting (approximated
    with ambient occlusion, with warnings), preset, camera, nucleotides,
    ribbon, unitcell, dssp, wait, color modify, color bynucleotide,
    color fromatoms / fromcartoons, color bfactor / byattribute,
    ColorBrewer palettes.
  • Nucleic acids: bases drawn as slabs or a ladder; cartoon style modeHelix tube draws cylinder helices.
  • Display: hidden atoms shown again come back in the style they had
    (sticks stay sticks), and undo / redo restore it. show ... only, comma
    lists (hide atoms,ribbon), show on a map.
  • Specifications: element symbols are no longer read as command
    abbreviations (select C & :sti), view <spec> works, model parts one
    after another are a union (#1/k#2/o), names may name models, @@display,
    ions.
  • Other: model numbers are reused after close as in ChimeraX, Tab after
    # completes model numbers, repeated colouring no longer slows a large
    molecule, silhouettes outline every edge and keep their pixel width while
    zooming, label height / font, save .stl.
  • color random and color zone are refused; see
    docs/architecture/console-chimerax-dialect.md for what else differs from
    ChimeraX.

Native console (CueMol3)

  • Commands run only by their full names. open 1a0m 1crn typed in the
    native console used to run open_log and write a log file; it now says
    unknown command: "open" (did you mean open_log?). Tab still completes
    abbreviations, and the PyM console keeps PyMOL's abbreviations.

Startup scripts and style files (CueMol3)

  • ~/.cuemol/ (or $CUEMOL_HOME) can hold startup.txt / .qax / .pml
    / .cxc, run in the console once per launch (each one undo step), and
    styles/*.xml, loaded as read-only style sets.
  • Files opened from the OS or tritium_cli wait until the scripts finish. A
    status bar item shows the running scripts and can stop them.

Downloads

  • CueMol3 -- CueMol3-3.0.1.555-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-3.0.1.555-Windows-x64-Setup.exe (Windows),
    CueMol3-3.0.1.555-Linux-x64.AppImage and CueMol3-3.0.1.555-Linux-x64.deb
  • CueMol2 -- cuemol2_3.0.1.555_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

CueMol3 on macOS (Apple silicon) and Windows can update itself to this
release (Check for Updates).

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v3.0.0.554

Choose a tag to compare

@github-actions github-actions released this 06 Nov 10:25
794fe4a

CueMol 3.0.0 (build 554)

From this release the version number follows the app's name: CueMol3 is now
version 3. The repository has moved to
github.com/CueMol/cuemol3; links to the
old CueMol/cuemol2 address are redirected.

The main changes:

  • ChimeraX console (CueMol3): a third console dialect, ChX>, for
    ChimeraX commands and atom specifications.
  • Console dialects as plugins (CueMol3): the PyMOL and ChimeraX dialects
    can each be switched on or off in Settings > Plugins.
  • tritium_cli (CueMol3): opens files in the running app, installs an agent
    skill, and bridges MCP over stdio.
  • Undo (CueMol2 and CueMol3): deleting part of a residue can now be
    undone, and a failed undo is reported instead of leaving the scene half
    changed without a word.
  • Shorter selections (CueMol2 and CueMol3): selections built step by step
    no longer grow longer with every step.

Undo fixes (CueMol2 and CueMol3)

  • Undoing the deletion of part of a residue did not bring the atoms back
    (for example, deleting only the CA atoms of the glycines). Deleting whole
    residues worked. Deleted atoms now come back under their own atom IDs, so
    later coordinate undo and aid selections still reach them. Alternate
    conformations removed along with an atom come back too.
  • A failed undo, redo or rollback used to leave the History saying a step
    was undone while the scene was only partly changed, and later edits could
    silently stop being recorded. Now the undo history is cleared when a step
    fails, and CueMol3 tells you which step failed and how many were undone
    first (an error alert in the GUI, a message in the console).

Shorter selections (CueMol2 and CueMol3)

  • Selections built by adding to the current one (shift-click / Add select,
    rubber-band and lasso add, the Selection Builder, the console dialects) are
    rewritten into an equivalent, shorter expression instead of growing like
    ((((aid 5) or (aid 9)) or .... An expression you type is kept as typed.
  • The 3D view's context menu Invert, Toggle sidechain and Around
    now work on the parsed selection. Before, they edited the text and could
    break some expressions (inverting !(A) or !(B) gave A) or !(B).
  • A selection written back as text now compiles to the same atoms
    (none, null, named selections and quoted values included).

ChimeraX console (CueMol3)

Switch the console to ChX (or run tritium_cli --dialect chimerax).
Commands are translated into CueMol's ops, so they are checked, recorded in
the History and undone like any other edit.

  • Opening and display: open (files, PDB IDs, .cxc scripts, with
    ChimeraX's automatic styling), close, delete, show / hide,
    cartoon, style, surface, transparency, label.
  • Colour: color with names, #hex, rgb() / hsl() / gray() and the
    other ChimeraX forms, byhetero, byelement, bychain, bymodel,
    random, and rainbow with palettes.
  • Atom specifications: models, chains, residues and atoms, wildcards,
    zones (@<5), attribute tests (@@bfactor>50, ::polymer_type), named
    selections and sel.
  • View: view, named views, view matrix, turn, move, zoom,
    cofr, set bgColor, silhouettes.
  • Selection and analysis: select (with add / subtract /
    intersect), name, info, alias, distance, align, matchmaker,
    save (.png, .qsc, .pdb).

See docs/architecture/console-chimerax-dialect.md for what differs from
ChimeraX.

PyMOL console (CueMol3)

  • Every command that changes the scene now runs through the same ops as the
    native console, MCP and the AI agent, so it is checked and recorded in the
    History the same way. Error messages are unchanged.
  • The PyMOL and ChimeraX dialects are now plugins of their own
    (pymol-console, chimerax-console). Both are on by default; existing
    console history carries over.

tritium_cli (CueMol3)

  • tritium_cli 1crn.pdb map.ccp4 opens the files in the running app (-i
    continues at the prompt). .qax, .pml and .txt files run as scripts.
  • tritium_cli skill install installs an agent skill for Claude Code that
    drives CueMol through tritium_cli.
  • tritium_cli mcp connects an MCP client over stdio, even when the MCP
    Server plugin is off.
  • status, version and help <command> subcommands.
  • Only one client edits at a time: a second console or MCP client is told the
    app is busy rather than interleaving its commands.
  • Published to npm as @cuemol/tritium-cli@3.0.0.

Console ops (CueMol3)

  • focus_nodes: fit the view to several objects and renderers at once (the
    scene tree's Focus with several rows selected).
  • focus_selection replaces center_view and no longer changes the
    object's selection.
  • fetch_pdb takes the reader options of the File Open dialog
    (build2ndry, loadAltConf, ...), and Get PDB records them.
  • save_scene takes the Save As options (embedAll, version, compress,
    base64); superpose takes recenter.
  • New copy_node, orient_view, set_frame; set_view takes a rotation.
  • A load_file recorded from File Open keeps the reader you chose, so a
    replay does not pick another one by extension.

Downloads

  • CueMol3 -- CueMol3-3.0.0.554-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-3.0.0.554-Windows-x64-Setup.exe (Windows),
    CueMol3-3.0.0.554-Linux-x64.AppImage and CueMol3-3.0.0.554-Linux-x64.deb
  • CueMol2 -- cuemol2_3.0.0.554_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

CueMol3 2.4.x on macOS (Apple silicon) and 2.4.2 on Windows can update
themselves to this release (Check for Updates).

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v2.4.2.550

Choose a tag to compare

@github-actions github-actions released this 01 Nov 05:47

CueMol 2.4.2 (build 550)

The main changes, all in CueMol3:

  • New default look: each molecule loaded into a scene gets its own color
    from a colorblind-safe palette, and the default ribbon and nucleic-acid
    shapes are slimmer.
  • Cryo-EM maps: the Get PDB dialog and the console fetch EMDB maps.
  • Finding structures: the Get PDB dialog finds entries by keywords.
  • PyMOL-like drawing: a molecule loaded from the console without choosing
    a renderer is drawn as cartoon, sticks, spheres and water.
  • Self-update on Windows.

It also fixes an important bug: CueMol3 could not open some valid CCP4 / MRC
map files at all (see below).


Important fix: CCP4 / MRC maps that could not be opened (CueMol3)

  • Some valid CCP4 / MRC map files (.map) could not be opened in CueMol3.
    Opening one with File > Open (or the console's load_file /
    load_ccp4) failed: the file was taken for NAMD coordinates (namdcoor)
    and the NAMD reader failed on it. EMD-60887, a cryo-EM map from EMDB, is
    one such file.
  • Cause: the .map extension is claimed by both the CCP4 and X-PLOR
    readers, so CueMol3 detects the format from the file's content. The
    check of the NAMD coordinate reader accepted a CCP4 header by mistake and
    won over the CCP4 reader.
  • The NAMD check no longer accepts such a header, so these files now open as
    density maps. If a .map file failed to open in an earlier version, try
    it again with this release.
  • Each console load_<format> op (load_ccp4, load_pdb, ...) now reads
    with its own reader only, without format detection; new load_mmcif for
    mmCIF models.

New default look (CueMol3)

  • Each molecule loaded into a scene gets its own color from a colorblind-safe
    palette (Okabe-Ito by default), instead of the same fixed colors for every
    molecule. Other palettes (tolbright, tolvibrant, tolmuted, tollight,
    brewerset2, brewerdark2, tableau10) can be chosen in a style file with
    <palette id="default_paint" value="tolbright"/>; there is no GUI for this
    yet.
  • The palette color is saved in the scene, so a saved scene keeps its colors
    even if the defaults change later.
  • The default ribbon is slimmer (helix and sheet width 0.18, coil width 0.2).
  • The default nucleic-acid renderer has smaller bases and a round-square
    backbone tube.
  • CueMol2 keeps its previous default shapes. A scene saved by CueMol3 opens
    in CueMol2 with CueMol2's shapes, and the other way round.

Cryo-EM maps from EMDB (CueMol3)

  • Get PDB accepts an EMDB ID (EMD-11638 / emd_11638) as well as a PDB
    ID. For a cryo-EM entry it offers the entry's EMDB maps (size, grid,
    recommended level; wwPDB or EBI mirror) instead of 2Fo-Fc / Fo-Fc.
  • The entry's title, method, resolution and EMDB IDs are shown as you type.
  • An EMDB map is drawn as an isosurface at the author's recommended contour
    level (top 1% when there is none).
  • New console op fetch_emdb (also for the AI agent and MCP): takes an
    EMDB code or the PDB ID of a cryo-EM entry. PyMOL fetch EMD-3489 and
    fetch 3489, type=emd work too. Map downloads are recorded in the action
    log.

Find an entry by keywords (CueMol3)

  • The Get PDB ID field also takes keywords, searched with the RCSB full-text
    search (Enter or Search).
  • Results can be filtered by method (X-ray / electron microscopy) and sorted
    by relevance, best resolution or date. More loads further hits.
  • Picking a row fills the form as if its ID had been typed. Searched keywords
    go into the input history.

PyMOL-like drawing on load (CueMol3)

  • A molecule loaded without choosing a renderer (console load_file /
    fetch_pdb etc., the PyMOL console, MCP, the agent) is now drawn with the
    new preset DefaultPymRendPreset:
    • protein as ribbon, nucleic acid as nucl
    • organic ligands as sticks, inorganic ones as spheres
    • water as crosses
  • In the PyMOL console, show / hide / as / color act on these parts;
    PyMOL cartoon maps to ribbon, PyMOL ribbon to a CA trace.
  • File > Open with its dialog is unchanged.

Density maps (CueMol3 and CueMol2)

  • A masked cryo-EM map no longer opens with a negative default contour level.
    The Density map pane's Level field covers the levels that actually draw
    something.

Windows self-update (CueMol3)

  • CueMol3 on Windows finds, downloads and installs new releases itself, like
    the macOS build (Check for Updates). Each update asks for administrator
    permission (UAC prompt names CueMol3 Updater.exe). If the new version does
    not start, the previous one is restored.

Other changes (CueMol3)

  • Width rows of tube / ribbon / cartoon in the Inspector now go from 0 to
    1.5 A in 0.01 steps, so dragging moves about one step per pixel.
  • About lists the commit, build date and Electron / Chromium / Node.js /
    V8 / OS versions, with a Copy button for bug reports.
  • Electron updated to 42.11.16.
  • Dragging a numeric field past its end no longer sticks there.
  • Console help tables no longer break words in a narrow pane.
  • A framed list with more rows than fit now scrolls instead of squeezing
    every row.

Known limitations

  • Some EMDB maps have a recommended level that is too high (e.g. EMD-11640);
    adjust the level by hand.
  • The PDB reader skips unknown lines, so load_pdb on an mmCIF file does not
    fail.
  • The default-paint palette can only be changed in a style file.
  • The PyMOL-like preset does not cover every PyMOL rule (e.g. very small or
    very large objects, per-object carbon color).

Downloads

  • CueMol3 -- CueMol3-2.4.2.550-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-2.4.2.550-Windows-x64-Setup.exe (Windows),
    CueMol3-2.4.2.550-Linux-x64.AppImage and CueMol3-2.4.2.550-Linux-x64.deb
  • CueMol2 -- cuemol2_2.4.2.550_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

On macOS (Apple silicon), CueMol3 2.4.1 can update itself to this release
(Check for Updates in the app menu). On Windows, install this release by
hand once; later releases then update automatically.

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v2.4.1.547

Choose a tag to compare

@github-actions github-actions released this 24 Oct 08:38

CueMol 2.4.1 (build 547)

This release is about speed and large structures. In CueMol3, MD trajectory
and morph playback of tube, ribbon, cartoon and nucleic-acid renderers is
several times faster, and on Windows much faster still. Building a
cartoon of a large structure takes seconds instead of half a minute (4V6X:
32 s -> 1 s), surface coloring is faster, and several crashes on very large
structures (4V6X, 3J3Q) are fixed.

The Windows builds of both apps are now compiled with clang-cl, and
tritium_cli can be installed from npm.


Faster playback of tube / ribbon / cartoon / nucleic acid (CueMol3)

  • These renderers now keep their mesh on the GPU. When atoms move (MD
    trajectory, morphing) or the coloring changes, the mesh is rewritten in place
    instead of being rebuilt, and the work is split across CPU cores.
  • On 4V6X (human 80S ribosome), the per-frame update of a ribbon went from
    about 120 ms to about 12 ms, and of a cartoon from about 90 ms to 26 ms.
    Small molecules no longer wake the worker threads, which saves CPU.
  • Tube and ribbon share vertices between neighboring rings, so much less data
    is sent to the GPU every frame.
  • Windows: updated vertex buffers are now uploaded the way Direct3D 11
    expects, and normals use a format it supports natively. 4V6X ribbon morphing
    went from 8 to 46 updates per second (RTX 4070).
  • The nucleic-acid renderer (nucl) now follows morphs and repaints in place,
    in every mode.
  • The image is unchanged: in-place updates were checked to be pixel-identical
    to a full rebuild.

Faster cartoon build (CueMol3 and CueMol2)

  • The cartoon's smoothing splines are computed with a new linear-time
    algorithm. show cartoon on 4V6X takes about 1 s instead of 32 s.
  • The result is pixel-identical to the previous version.

Surfaces (CueMol3 and CueMol2)

  • Faster coloring by atom for molecular surfaces (molsurf), direct surfaces
    (dsurface) and map isosurfaces: up to about 5x faster on large surfaces.
  • dsurface ignores alternate conformations (only atoms with no alternate
    location or location A are used, as molsurf already did). Structures with
    alternate conformations build faster and without extra fragments.
  • molsurf no longer keeps a large cache for the whole life of the surface
    (about 700 MB on 4V6X).

Fixes

  • Molecular surfaces (molsurf, and dsurface with the MeshMS algorithm) no
    longer crash on 4V6X.
  • A cartoon too large to draw (e.g. HIV-1 capsid 3J3Q, 2.4 M atoms) no longer
    stops CueMol3: it is left undrawn and a message is logged. The 3J3Q ribbon
    and tube are drawn.
  • Tube, ribbon and nucleic-acid renderers no longer log coeff not found for
    very short chain segments (every frame during playback).

Windows build (CueMol3 and CueMol2)

  • Both apps are now built with clang-cl instead of MSVC. Rendering with the
    ray tracer (umbreon) is about 6-8% faster; images are unchanged.

tritium_cli on npm

  • npm install -g @cuemol/tritium-cli installs the console CLI on its own.
    It finds an installed CueMol3 (or CUEMOL3_APP) and starts it; without one,
    it prints the download URL.
  • The interactive banner shows the app icon, and the CLI warns when its
    protocol version differs from the running app's.

Known incompatibilities and limitations

  • A tube / ribbon / cartoon whose mesh would exceed about 2 GB is not drawn
    (it used to crash). Drawing it at lower detail is not implemented yet.
  • dsurface now leaves out a residue that has only B / C conformers and no
    A (as molsurf does).
  • molsurf now starts the molecule's own coloring scheme, as other renderers
    do. With a stateful scheme (e.g. rainbow) set on the molecule, molsurf colors
    may change to match the other renderers.
  • Regenerating a molsurf with only a new density takes longer on very large
    structures (4V6X: 1.5 s -> 2.8 s), since the cache is gone.
  • Ball & stick ring plates are no longer picked (a plate stands for no single
    atom).
  • tritium_cli from npm has been tested against an installed app on macOS
    only.

Downloads

  • CueMol3 -- CueMol3-2.4.1.547-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-2.4.1.547-Windows-x64-Setup.exe (Windows),
    CueMol3-2.4.1.547-Linux-x64.AppImage and CueMol3-2.4.1.547-Linux-x64.deb
  • CueMol2 -- cuemol2_2.4.1.547_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

On macOS (Apple silicon), CueMol3 2.4.0 can update itself to this release
(Check for Updates in the app menu).

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v2.4.0.546

Choose a tag to compare

@github-actions github-actions released this 17 Oct 00:23

CueMol 2.4.0 (build 546)

This release makes US-align the default superposition in CueMol3, which
also makes it possible to superpose RNA and DNA. CueMol3 also gains an
Actions view: a History pane that shows every undo step as the
operations it ran, and an Actions pane of presets and your own macros, saved
as .qax files and replayed on other objects.

The console learns zsh habits: wildcards and lists of targets
(hide *, load *.pdb), a Tab completion menu, Markdown help and
property tables, and quit. On macOS (Apple silicon), CueMol3 can now update
itself
. The app has a new icon.

CueMol2 (the UXP app) picks up the shared core changes: name label and style
set edits made from scripts are now undo steps.


Superposition: US-align (CueMol3, default)

  • The Superpose dialog has a Method choice (US-align / SSM / LSQ), with
    US-align selected by default, and a Pivot atom: auto uses CA for amino
    acids and C3' for nucleotides (modified bases included), or name an atom such
    as P. The pivot is kept in the dialog history.
  • US-align works on proteins and on RNA / DNA, which SSM cannot superpose.
  • The console's superpose takes a pivot argument. PyMOL align / super
    use US-align and print the RMSD, the number of aligned residues and the
    TM-score.
  • SSM and LSQ are still available and behave as before.

Actions view (CueMol3)

A new Actions view in the activity bar.

History pane

  • One row per undo step of the active scene, with the operations it ran as
    child rows, an Initial state row, and marks for undone steps and the current
    one.
  • Go to step moves the undo stack to a row. Save as qax and Copy as
    commands
    (also Edit > Copy) export the selected rows.
  • Double-click a step (or click one of its operations) to see it read-only in
    the Inspector.
  • Undo / Redo texts, including the toolbar's Undo / Redo dropdowns, are now
    written from the operations, e.g. which renderer was created or which
    property was set.
  • Almost every GUI and PyMOL-dialect edit is recorded as an operation that can
    be saved and replayed: properties, loading and fetching, renderers and
    styles, coloring and paint, selections, molecule editing, superposition,
    labels and measurement, symmetry, morphing, animation, cameras, style sets,
    APBS, copy / paste and more. MD trajectory edits are not recorded yet.

Actions pane

  • Lists 12 presets shipped with the app (display, figure finishing,
    analysis, motion) and your own actions (qax files in the app's user data
    actions folder).
  • Run applies an action to the object(s) selected in the scene tree (a
    selected renderer means its object; with no selection, the only object).
    Running it on several objects is one undo step; an object it fails on is
    skipped and listed at the end.
  • Context menu: Run, Copy to User Actions, Rename, Move to Trash, Open in
    Editor, Reveal in Finder.
  • Save to Actions in the History pane saves the selected steps, optionally
    as a macro that can run on another object. When the steps cannot be a
    macro (they touch two objects, or a renderer they do not create), the dialog
    says why.

qax files and the console

  • qax is an XML file of recorded actions. run x.qax (or @x.qax) in the
    console replays each action as its own undo step; tritium_cli x.qax does
    the same.
  • list_actions and export_actions file[, first[, last]] list and save the
    recorded steps; open_log now writes qax.
  • The PyMOL dialect does not run qax files.

Console and tritium_cli (CueMol3)

  • Several targets at once. Object, renderer, property-path and load-path
    arguments take a list of words and * / ? wildcards, as in zsh:
    hide 1crn 2abc/cartoon1, set */simple1.width, 0.7,
    load *.pdb ~/pdb/1c*.pdb, get_prop *.visible. Quotes and \ keep text
    literal ("my mol", my\ mol, \*).
    • The command runs once per target; a target it fails on gives a warning and
      the rest still run. A pattern that matches nothing warns
      no matches found: <pattern>.
    • The whole line is still one undo step.
  • Tab completion menu in the panel and in tritium_cli: candidates in
    columns, and a second Tab opens a menu (Tab / Shift-Tab / arrows, Enter
    accepts, Esc restores). Tab on a wildcard expands it to every match. File
    names complete as in zsh (dot files only when you type the dot,
    case-insensitive retry, cd lists directories only).
  • Markdown help: help lists subjects, help <subject> the commands of
    one subject, help <command> the usage and an argument table; help syntax
    explains how commands are written. In tritium_cli it is wrapped to the
    terminal width (raw Markdown when piped).
  • Property tables: props (list_node_props) and get (get_prop) print
    a table; over several targets they merge into one.
  • quit quits the app from the console (with the usual save prompts;
    quit force=true / quit -f skips them). In tritium_cli, quit quits the
    app and the CLI, exit only leaves the CLI.
  • The Console tab is now the first tab of the bottom panel and is shown
    until you pick another one.

Self-update (CueMol3, macOS Apple silicon)

  • CueMol3 checks for a new release at startup (you can turn this off in
    Settings > General > Updates), and Check for Updates is in the app
    menu.
  • Update downloads the new version, checks it, and replaces the app after
    it quits, then restarts. If the new version does not start, the previous one
    is restored.
  • Progress and results are shown in a new notification center (the bell in the
    status bar).
  • Not yet available on Windows or Linux.
  • 2.3.21 and earlier have no updater: install this release by hand once, and
    later releases can be installed from inside the app.

Other changes in CueMol3

  • New app icon.
  • macOS no longer asks for the Keychain password at launch to read the local
    API (MCP / tritium_cli) token.
  • Settings: path and text rows use the full width; the MCP port is a text field
    applied on Enter or when you leave it, with range validation.
  • Dragging a scene tree row upward drops it at the right place.
  • Electron 42.10.0.

Known incompatibilities and limitations

  • Names with spaces need quotes in the native console: an object, renderer
    or load path with spaces is written "my mol" or my\ mol (it used to be
    accepted bare).
  • Operation arguments renamed (console, MCP, AI agent, qax): paint and
    coloring operations (add_paint, set_paint, clear_paint,
    set_default_color, set_renderer_coloring, ...) take nodeId + nodeType
    instead of rendId, and arguments that named an object as molId are now
    objId (add_morph_frame: fromMolId -> fromObjId).
  • The style set created for a scene that has no writable one is now named
    default (was style_1).
  • Macros run only with no parameter or a single object parameter.
  • Self-update is macOS arm64 only.

Downloads

  • CueMol3 -- CueMol3-2.4.0.546-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-2.4.0.546-Windows-x64-Setup.exe (Windows),
    CueMol3-2.4.0.546-Linux-x64.AppImage and CueMol3-2.4.0.546-Linux-x64.deb
  • CueMol2 -- cuemol2_2.4.0.546_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v2.3.21.544

Choose a tag to compare

@github-actions github-actions released this 10 Oct 06:10

CueMol 2.3.21 (build 544)

This release is about driving CueMol3 from outside the window. Every
operation is now declared once and offered from the same definition to the AI
agent, to a new native console, to an MCP server that Claude Code, Codex
and other MCP clients can connect to, and to tritium_cli, a command line
client shipped with the app. Together they cover most of what the GUI edits:
scenes, views and cameras, renderers and styles, coloring and paint, maps,
superposition and other molecule operations, rendering, electrostatics, surface
cutting and morphing.

Labels can now be drawn on top of the geometry and aligned on their
atom, with a new name-label inspector page. The Color pane's Paint list is
restyled and can be reordered by drag and drop, and an Undo bug that left
duplicate paint rows behind is fixed. On Windows, windows no longer appear one
to two seconds late.

CueMol2 (the UXP app) picks up the shared core fixes: the paint Undo fix and the
new label properties.


Console (CueMol3, on by default)

The PyM Console is now the Console plugin, with two dialects you switch
between in the panel:

  • native (the default): commands for CueMol's own operations, CueMol
    selections, objects named as obj / obj.rend / #uid, properties set with
    set obj.rend.prop, value, and Tab completion that knows each argument --
    values of the parameter, name= for the ones not given yet, renderer
    properties, file paths. help lists commands by subject; help <subject>
    lists one subject.
  • pymol: the PyMOL-compatible commands of the previous release, unchanged.

One submission is one undo step, as before; Stop, scripts and the log work in
both dialects.

Commands of the native dialect include:

  • Scenes: list_scenes, new_scene, switch_scene, close_scene.
  • View and cameras: rotate, zoom, slab, center, pan, focus, projection,
    named cameras (save, apply, rename, move), and View properties through
    view. paths (get view.stereoMode, set view.centerMark, axis).
  • Objects and renderers: delete, rename, change renderer type, renderer
    styles, named selections, reset properties to their defaults.
  • Molecules: superpose, molecular surfaces, delete atoms, rename chains,
    change residue numbers, merge, secondary structure, add / remove bonds,
    symmetry, groups.
  • Coloring: paint entries (list, add, update, remove, move), clear paint,
    default color, color by electrostatic potential.
  • Maps: fetch maps, contours, recenter.
  • Tools-menu operations: calc_elepot (the same APBS job as the dialog,
    using the paths in Settings), the molecular surface cutter, and the morphing
    animation tool. Interactions can be listed and removed.
  • Files and images: load picks the reader the way File > Open does;
    load_pdb, load_mtz, load_ccp4, load_msms, load_namd, load_amber
    take the File Open dialog's options as named arguments (e.g.
    load_pdb f.pdb, build2ndry=false). Scene export to PNG / POV-Ray / STL /
    MQO, export_image, and ray, which runs the umbreon render (GI or NPR)
    and can be stopped.
  • Animation: playback including pause and seek.

Command names follow one verb_object pattern (list_anims, add_paint,
create_surface, ...).

MCP server (CueMol3, off by default)

Turn it on from the status bar item or Settings > Plugins > MCP Server.

  • CueMol3 listens on 127.0.0.1 (port 27182 by default) with a bearer token,
    and refuses requests from web pages.
  • The status bar shows whether the server is off, ready, running a tool (with
    its name) or in error. Its popover has a setup dialog for Claude Code,
    Codex, Antigravity and other clients, and regenerates the token.
  • Every console operation is offered as an MCP tool, plus capture_view, which
    returns an image of the current view. One tool call is one undo step
    (MCP: <tool>). A call is refused while the agent or the console is in the
    middle of an edit, and a cancelled call is stopped.
  • Scenes can be listed, created, switched and closed; close_scene refuses a
    scene with unsaved changes unless told to discard them. save_scene and
    opening a .qsc work from MCP.
  • Errors always come back as a readable {ok: false, error} result.

tritium_cli (CueMol3)

A command line client for the console, shipped with the app.

  • Interactive (CueMol <dir> ❯ / PyM>, Tab completion, history, Ctrl-C stops
    a run), or non-interactive with -c, a script file or a pipe (exit status 1
    on failure).
  • If CueMol3 is not running, it starts it and waits for it (--no-launch
    opts out). Otherwise turn on Settings > Plugins > Console > Command line
    access
    .
  • Relative paths resolve against the directory you run it in. What you run
    also appears in the console panel, marked [cli].
  • The deb installs /usr/bin/tritium_cli. On macOS and Windows, Settings >
    Plugins > Console shows the path of the wrapper to add to PATH.

AI agent (CueMol3, off by default)

  • The agent's tools are generated from the same operation definitions. A short
    core set is always offered; further groups (view, map, molecule operations,
    analysis, ...) are switched on by the model when it needs them.
  • New core tools: rotate_view and set_view (zoom, slab, distance, center).
  • create_renderer without a name names the renderer after its type.
  • Interaction analysis leaves out carbon contacts unless asked to include them.

Labels

  • Label on top (name labels and interaction labels; off by default): labels
    are no longer hidden by geometry in front of them, like PyMOL's
    float_labels.
  • Alignment (name labels): halign / valign choose which point of the
    label sits on the atom (plus the offset). The default is the previous
    placement. POV-Ray output follows the alignment.
  • CueMol3 has a name label inspector page: format, color, label on top, max
    labels, alignment, offset and font. The interaction labels section gains
    "Label on top".
  • Any name label property change now redraws the labels; before, only the color
    did.
  • Edge lines are no longer offered for renderers that have no faces (spline,
    map mesh, selection, unit cell, name labels, ...).

Color pane (CueMol3)

  • The Paint list is restyled to match the Camera pane, with an Add / Move
    up / Move down / Delete toolbar, Delete / Backspace to delete rows, and
    drag and drop to reorder.
  • The coloring dropdown shows the current mode (Paint, CPK, Rainbow, ...).
  • Undo after adding a paint row, or after moving one to the end, no longer
    leaves a duplicate row.
    This was a core bug and is fixed in CueMol2 too.

Other fixes in CueMol3

  • Windows: windows appear without delay. The Rendering window appeared
    about a second, and the main window about two seconds, after they were ready.
    Both now show within about 0.15 s.
  • PNGs saved from the Rendering window keep their DPI. Images rendered with
    umbreon (GI or NPR) were saved without resolution information; they now carry
    the render settings' DPI, as File > Export PNG does.
  • The hover highlight survives a click. Clicking an atom (for example to add
    a pick label) no longer clears the highlight; it ends when the view starts
    rotating or moving.

Known incompatibilities and limitations

  • The console plugin changed its id (pymconsole -> console). If you had
    turned it off, turn it off again in Settings > Plugins. PyMOL command history
    is kept.
  • tritium_cli is not available on PATH for the AppImage.
  • Label alignment is not applied in the LW viewer output (labels stay at the
    bottom-left).

Downloads

  • CueMol3 -- CueMol3-2.3.21.544-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-2.3.21.544-Windows-x64-Setup.exe (Windows),
    CueMol3-2.3.21.544-Linux-x64.AppImage and CueMol3-2.3.21.544-Linux-x64.deb
  • CueMol2 -- cuemol2_2.3.21.544_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.

v2.3.20.539

Choose a tag to compare

@github-actions github-actions released this 29 Sep 09:44

CueMol 2.3.20 (build 539)

This release is mostly about size. MD trajectories of millions of atoms now
open at once and play back at the display rate
: frames are read only when
they are shown, the frames kept in memory are capped, the next frames are
decoded in the background while you play, and water you do not want to see can
be left out of the trajectory altogether. The molecule underneath takes less
memory per atom, very large GRO files load in well under half the time, and a
molecule whose coordinates change every frame no longer costs the CPU most of
the frame.

The PyM Console grows from a command line into something that runs PyMOL
scripts: @script.pml, save, label, align / super, spectrum,
orient, get_view / set_view, object names inside selections, and PyMOL's
own show / hide and argument conventions. The AI agent gains Google
Gemini, a model picker, and a tool that lets the model look at the current view.

There is one new renderer, tracestick -- trace drawn as balls and
sticks -- and three fixes to what you see: the cartoon coil no longer pokes out
of a cylinder helix, high anti-aliasing no longer drops frames while the view
moves, and SSM superposition works on structures with alternate residue types.

CueMol2 (the UXP app) picks up the shared core work: the trajectory and memory
changes, the cartoon and anti-aliasing fixes, the SSM fix and the new renderer
class.


MD trajectories

A trajectory the reader could open is no longer reported as corrupt.
Dropping an .xtc, .dcd or .trr file on the window said the file could not
be read, might be corrupt, or had the wrong extension -- none of which was true.
A trajectory file holds only frames and cannot be opened on its own. The message
now says so and points to File > Open MD Trajectory..., and, when the MD Tools
plugin is off, first to Settings > Plugins to turn it on. File > Open no
longer lists the trajectory formats at all, since they always led nowhere there.

Frames are read when they are shown. Opening a trajectory used to decode
every frame before anything appeared -- 746 MB for one user's 400k-atom membrane
system, with the app frozen meanwhile. DCD, XTC and TRR now index the file on
open and decode a frame the first time it is shown. A file cut short while it was
being written is still detected when it is opened. AMBER NetCDF and trajectories
restored from a .qsc file are still read in full.

Memory stays bounded however long the trajectory is. A lazily read
trajectory keeps at most 2 GiB of decoded frames per block and releases the
least recently shown ones past that. At 3.9 million atoms a frame is 47 MB, so a
2,530-frame trajectory would otherwise have grown towards 119 GB.

Playback decodes ahead. While an XTC trajectory plays, the next four frames
in the direction of playback are decoded on background threads, so a frame is
usually ready before it is needed. On a 3.9M-atom system with the water left out
this took first-pass playback from 30 to 60 fps. XTC decoding itself is also about
a third faster. DCD and TRR do not decode ahead yet.

Water can be left out of the trajectory. Trajectory.applyLoadSel(sel)
keeps only the selected atoms, so frames are stored, copied and drawn for those
atoms alone. It is saved in the .qsc file. On the same 3.9M-atom system,
dropping the water instead of hiding it took playback from about 30 to 52 fps and
halved the memory. For now it is available from scripts; there is no GUI for it
yet.

Large GRO files load faster and log less. A 3.9M-atom .gro file loads in
4.8 s instead of 12.5 s, with an identical result. A residue-number reset in a
.gro file is where the next molecule starts, not a problem, so the log no
longer prints one warning per reset: the first ten are shown and the rest are
summed up in one line (532 lines down to 13 for the file above).

Performance and memory

  • Molecules take less memory per atom. Atom and residue names are interned,
    positions, occupancies and B-factors are stored in single precision (they were
    read and written that way already), and bookkeeping that almost every atom left
    empty is now allocated only when used. Script and GUI interfaces are unchanged.
  • A molecule whose coordinates change every frame is cheap to draw. For
    trajectories and morphs, the per-frame CPU time on a 237k-atom structure went
    from 26 ms to 1.6 ms (25 to 60 fps), and on a 2.4M-atom structure from 36 to
    54 fps. Coordinate uploads to the GPU no longer allocate a new buffer each
    frame and no longer write into a texture the GPU is still reading.
  • Static viewing costs about the same at any size. An empty selection
    renderer used to rebuild itself every frame; with nothing selected -- the usual
    state -- every scene paid for it.

Rendering

  • New tracestick renderer: the main-chain pivot atoms (CA for proteins, P
    for nucleic acids) as spheres, joined by cylinders between linked residues.
    It breaks where trace breaks. Four styles ship with it: DefaultTraceStick,
    ThickTraceStick, BallTraceStick and ThickBallTraceStick. CueMol3 has an
    inspector section for it.
  • The cartoon coil stays inside a cylinder helix. At a helix-coil junction
    the coil passed through the terminal residue's CA, so it stuck out of the
    cylinder when that CA lay outside it (for example 2BTE chain A 510). Junctions
    whose CA is already inside are drawn as before; ribbon helices are unchanged.
  • High and Ultra anti-aliasing no longer drop frames while the view moves.
    Temporal jitter now accumulates only once the view has been still for 100 ms;
    a moving frame is drawn at the plain anti-aliasing cost. In CueMol3 the scene
    was also being updated twice per frame, which is fixed.

Superposition

SSM superposition works on structures with microheterogeneity. A structure
that models two residue types at one position through alternate locations, such
as 1EJG, failed with "Coordinate conversion for MMDB is failed!!". Only atoms
with no alternate location or location A are now given to SSM. This applies to
the Superpose dialog in both apps and to the PyM Console's align / super.

PyM Console (CueMol3, off by default)

Turn it on in Settings > Plugins.

  • Scripts and logs: @file.pml and run file.pml run a script -- nested ones
    included -- as one undo step. log_open / log_close / log record what you
    type, so a log replays with @. A Stop button stops before the next command
    and cancels a download in progress.
  • New commands: save (.pdb / .sdf / .mol with a selection, .qsc,
    .png, .pqr, .pov, .stl), set_color, spectrum, align / super /
    pair_fit with the RMSD, get_view / set_view in PyMOL's 18-number form,
    mplay / mstop / rewind, frame / count_states, label with PyMOL
    expressions, and orient.
  • load and fetch do more: load opens .qsc (into a new tab unless the
    scene is new and empty), .pse, .pml and http(s):// URLs; fetch takes
    type=2fofc|fofc for density maps, type=pdbN for a biological assembly, and
    1abcA / 1abc_A for one chain.
  • Behaves more like PyMOL: object names work inside selections
    (1abc and chain A); show / hide take no argument, everything,
    abbreviated and space-separated representation names, and show_as; hiding
    something and showing part of it again no longer brings back the rest; PyMOL
    keyword and positional arguments such as quiet=1 and async=0 are accepted;
    distance with a cutoff or mode lists contacts; and PyMOL settings such as
    stick_radius, transparency, line_width, solvent_radius, label_size
    and label_color are mapped where CueMol has the same quantity. A setting made
    before show applies to what is shown later, as scripts expect.
  • color, zoom and center no longer change the molecule's current selection.
  • Cmd/Ctrl+A in the transcript selects the transcript text.

AI agent (CueMol3, off by default)

  • Google Gemini is a third provider, written google:<model>, with a
    "Google AI API key" setting (or GEMINI_API_KEY).
  • A model picker at the top of the panel lists only models the stored API
    keys can run, and updates when a key is added or removed.
  • capture_view: the model can render the current view and look at it,
    so it can check its own work. The picture is shown as a thumbnail on the tool
    row. Only the latest picture is kept in the conversation.

Other fixes in CueMol3

  • Select All in the macOS text context menu selected the whole window instead
    of the text field it was used in.
  • Name labels take a format: the name label renderer's new format property
    ({resn} {resi}, {bfac:.1f} and so on) replaces the built-in text when set.
    A label's text and format are
    saved in the .qsc file, and a label that was read but not yet drawn is no
    longer lost on save.

Known incompatibilities and limitations

  • Coordinates of an animated molecule cannot be edited atom by atom. In a
    trajectory or a morph the frames define the coordinates; such an edit never
    survived the next frame change, and it is now refused up front. Moving the
    whole molecule through its transform still works for morphs.
  • A trajectory ignores a molecule transform (xformMat), with a warning,
    because superposing a trajectory only makes sense frame by frame. Old .qsc
    files still load. The CueMol2 Superpose dialog no longer offers a trajectory as
    the moving molecule, matching CueMol3.
  • Positions, occupancies and B-factors are held in single precision. Values
    read back through scripts are the float-rounded ones.
  • Frames of a trajectory restored from .qsc are read in full, as before;
    lazy reading applies to trajectories opened from File > Open MD Trajectory....
    AMBER NetCDF is always read in full. Background decoding covers...
Read more

v2.3.15.530

Choose a tag to compare

@github-actions github-actions released this 18 Sep 04:27

CueMol 2.3.15 (build 530)

This release opens CueMol3 up: a feature can now live in one directory and be
switched on or off from Settings > Plugins, instead of being wired into a
dozen tables across the app. Two new things arrive on that mechanism -- an AI
agent chat panel
that builds a scene from a written instruction, and a PyM
Console
, a partly PyMOL-compatible command line whose parser and Tab
completion are ported from PyMOL itself. Both are off by default.

On the rendering side, dsurface and dsurf2 are merged into one renderer that
lets you pick the mesh algorithm, direct surfaces finally answer clicks and
hover, and a surface of sixteen million vertices no longer costs gigabytes of
colour. Cameras move out of the scene tree into a Camera pane of their own, in a
new View activity view, and their order is saved with the scene. A long-standing
defect is fixed underneath all of this: a named selection evaluated outside the
draw path -- from a script, a panel button, or a PDB write -- used to come back
silently empty.

Two changes will be visible without being asked for: the MD trajectory GUI is
now a plugin and is off by default
, and scenes saved with dsurface are now
drawn with the distance-field algorithm
. Both are covered under known
incompatibilities below.

CueMol2 (the UXP app) has no GUI changes of its own; it picks up the shared core
work -- the surface merge, the named-selection fix, the empty-selection guards in
zoom and center, and the measurement additions.


Plugins

A feature can now be one directory. Adding one used to mean editing several
closed tables -- command ids, the menu template and its IPC channels, the toolbar
list, the activity-view and bottom-tab unions, the dialog provider list, the
worker service map -- and removing it meant touching the same number again, with
nothing in the app saying whether it could be turned off at all. A plugin now
declares what it contributes in one manifest and is switched from a single
setting. Seven contribution points are covered: commands, menu items, toolbar
buttons, an activity view with its side panes, bottom tabs, dialogs and worker
services.

Settings > Plugins lists them with a description and a switch. Choices are
remembered per plugin, and a plugin you have never touched follows its own
default -- so a default that changes later still reaches you.

Six plugins ship built in. Get PDB and Sequence are always on: they were made
plugins to keep them in one place, not to be removed. The Component Catalog
(an internal UI catalogue), the AI agent, MD trajectory and the PyM Console
are off by default.

The AI agent chat panel (off by default)

Write what you want -- "load 1CRN and show it as a cartoon" -- and the model calls
the same services the GUI calls, in order, streaming its progress back into the
panel. Twenty tools cover loading, selection, renderers, colouring, scene
settings, interaction analysis, distance / angle / dihedral measurement and image
output.

  • One instruction is one undo step. A single Cmd+Z takes the whole thing back.
  • Scene settings are reachable too -- background colour, ambient occlusion,
    anti-aliasing and CMYK proofing are scene node properties, so the agent reaches
    them through the same generic property tools rather than one tool each.
  • OpenAI and Anthropic both work. The model is configured as
    provider:model.
  • API keys go to the OS keychain, not into a settings file.
  • Enter inserts a newline; Cmd/Ctrl+Enter sends -- the other way round from
    the usual default, because the thing you lose by guessing wrong (a half-written
    prompt) is the one you cannot get back. Settings can swap the two.
  • Sent prompts come back with the up and down arrows, shell style.

PyM Console (off by default)

A bottom tab with a PyMOL-compatible command line, for people whose fingers
already know fetch 1crn and bg_color white. Full compatibility is not the
goal; running what you already know is.

The parser is ported from PyMOL, not reinvented -- line splitting, argument
parsing, the call preparation and the command abbreviation rules, down to the
error wording. The Tab completion is ported the same way, including its quirks:
Tab replaces the whole line and leaves the caret at the end, pressing it again
lists the same candidates rather than cycling, a command word is never completed
to itself while an exact argument match is accepted, and unknown entries fall back
to globbing filenames. Candidates print into the transcript, as they do in PyMOL.

Commands: loading and objects (load fetch delete set_name cd pwd ls
enable disable get_names), view (zoom center reset turn move
view refresh), settings (set get unset bg_color), output and history
(png undo redo quit help), selections (select indicate deselect
count_atoms get_chains), representations (show hide as color),
measurement (distance angle dihedral) and maps (isomesh isosurface
isolevel).

  • A selection expression is translated, not passed through. The two languages
    agree on operator precedence but differ in their lexis -- a lone + is a union
    while a + inside a word is a list separator, a lone - is a difference while
    one inside a word is a range. within / near_to / beyond expand into
    CueMol's expand / around.
  • Anything without a faithful equivalent is refused by name, with a reason,
    rather than quietly selecting different atoms. neighbor and extend are
    called out specially: CueMol's parser accepts them but has no implementation, so
    passing them through would return an empty selection and no error.
  • show / hide do not touch renderers you made in the GUI. Each object and
    representation gets one renderer named pym:<rep> whose selection is widened by
    show and narrowed by hide; the prefix is the boundary.
  • One submit is one undo step, with the same commit rule as the agent panel.

Surfaces

dsurf2 is merged into dsurface, and you choose the algorithm. The two were
the same renderer with the same properties, differing only in how the mesh was
built and whether the GPU path existed -- and the new-renderer list offered both
with nothing to tell you which to pick. There is now one dsurface with a
Surface algorithm setting, and the GPU path is available to all of them:

Algorithm Surface types
EDTSurf (voxel + distance transform) vdw / sas / ses
Distance field + marching cubes (default) vdw / sas / ses
MeshMS (analytic SES) -- new ses only

MeshMS meshes the analytic surface directly instead of walking a grid, which
makes it dramatically faster at high detail: on a 8829-atom structure at detail 32
it returns 1.7 million vertices in 2.6 seconds, where the distance field takes 17
seconds for 950 thousand. It needs a build with MeshMS enabled and only does SES,
so vdw / sas, a build without it, and a failed generation fall back to the
distance field and say why in the log.

Detail now means the same thing in all three. The three builders take
different quantities (a voxel size, a grid spacing, a target edge length), so the
value was recalibrated against EDTSurf: at the default detail of 6, all three land
within 4% of the same vertex count. The Detail choices are now
1, 2, 4, 8, 16, 24, 32 -- 24 was added because the step from 16 to 32 costs more
than three times as much.

A large surface no longer takes the process down. The allocator Electron links
against dies on a single allocation over about 2 GB, so both builders are capped
by vertex count: MeshMS predicts its vertex count from the atom count and solves
for the finest mesh size that fits, with a hard ceiling that falls back to the
distance field; the distance field binary-searches for its spacing from the
molecule alone -- the previous approach of coarsening from the requested value
could make a higher detail come out coarser.

Colour is no longer the biggest thing a mesh carries. Mesh vertex colours were
an array of scriptable colour pointers at 72 bytes each, and potential or
multigradient colouring allocated a fresh 256-byte gradient object per vertex --
about 350 bytes of colour per vertex. Vertices now carry a 16-byte record indexing
a shared palette, whatever the colouring method: at 16 million vertices that is
about 256 MB instead of about 5.6 GB. Exported files are unchanged -- POV-Ray,
LuxRender, Metasequoia and umbreon output keeps the same colour table ordering and
gradient registrations.

Direct surfaces answer the pointer. They were not in the hit test at all, so a
click or a hover over one did nothing -- even though the answer was already there,
each mesh vertex carrying the id of the atom it belongs to. The hover chip, the
click label and the hover highlight all work on dsurface now, highlighting the
patch belonging to that atom. Picking applies to the fill draw mode; wireframe
and dots keep one name for the whole mesh and stay out of it. Rectangle and lasso
selection still ignore surfaces.

The translucency threshold for picking moved from 0.5 to 0.6, inclusive. A
surface at 0.6 opacity used to pick itself although you could still see through
it. Exactly 0.6 is now click-through and only something more opaque is picked.
This is a shared constant, so it applies to every renderer.

Also fixed: a potential crash where a mesh vertex with no owning atom was passed
to the selection node unchecked (the guard was testing an unsigned value for
negativity). Such vertices are drawn in the default colour.

The 3D view

The hover highlight is visible on a dark background. Its outline is drawn in
two tones -- the inner line over the element's own colour, the outer line over the
background -- and the outer one was always dark, so on a black background with a
line renderer such as simple there was no...

Read more