Skip to content

Plugin Group Template

Hiromichi Yokoyama edited this page Oct 20, 2026 · 4 revisions

Plugin: Group Template

Group Template provides a searchable palette of 310 common substituent abbreviations and functional groups for MoleditPy's 2D editor, allowing rapid molecular assembly with standard bond lengths, live previews, and atom-preserving attachment semantics.

Repository moleditpy_group_template
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.9, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location Plugins ▸ Group Template... (also adds a dedicated toolbar button)
Extra dependencies None (uses RDKit, PySide6 from the MoleditPy environment)

See Official Plugins for the full catalogue.


1. Palette contents (310 substituents)

The library encompasses 310 widely used chemical fragments:

  • Alkyl & Aryl groups: Me, Et, i-Pr, t-Bu, Ph, Bn, Mes, Tol, naphthyl, biphenyl.
  • Protecting groups: Boc, Cbz, Fmoc, Ts, Ms, Tf, Ac, Bz, TBS, TBDPS, TMS, TIPS, PMB, Trityl.
  • Heterocycles: Pyridyl, thienyl, furyl, oxazolyl, thiazolyl, indolyl, quinolyl, morpholinyl, piperidinyl.
  • Biomolecules: Natural and unnatural amino-acid side chains, nucleobases (Adenine, Cytosine, Guanine, Thymine, Uracil), sugars.
  • Borylation & Cross-coupling: Bpin, Bneop, $-\mathrm{BF}_3\mathrm{K}$, stannyl fragments, phosphines ($\mathrm{PPh}_2, \mathrm{PCy}_2$).

2. Attachment semantics: the * attachment point

Every group thumbnail clearly indicates an attachment point denoted by an asterisk (*):

  • Click an existing atom: The group is bonded directly to the clicked atom, and the clicked atom preserves its original element. For example, clicking a nitrogen atom and selecting Ph creates an $\mathrm{N}-\mathrm{Ph}$ bond, rather than replacing the nitrogen with carbon.
  • Click empty space: The group is deposited onto the canvas retaining its * dummy atom, keeping open valences explicitly marked until connected.

This differs intentionally from built-in User Templates (which overwrite the clicked atom with the template's first atom), avoiding accidental element mutation.


3. Search and interactive placement

  • Real-time filtering: Filter the list instantaneously by typing abbreviations (e.g. Boc), systematic IUPAC fragments, or formulas.
  • Live hover preview: Hovering over the 2D canvas displays a translucent preview of the substituent aligned along the incoming bond vector at MoleditPy's standard bond distance.
  • Full Undo integration: Group placements are registered as standard atomic additions and are fully reversible with Ctrl+Z.

4. See also


This page documents Group Template v2.0.1, and was last updated on 2026-10-20. See REGISTRY/plugins.json for the current version.

Clone this wiki locally