VeSMA: GPU-native library for retrosynthetic expansion and beyond
Templatebased computeraided synthesis planning generates candidate precursors by applying retrosynthetic reaction templates to target molecules. Applying these templates across large collections of molecules is computationally demanding, as each application requires both identifying matching molecular patterns and construct ing the resulting precursors. Here we present VeSMA, a reactiontemplate application library with dedicated NVIDIA CUDA, Apple Metal, and CPU backends accessible through a unified interface. To our knowledge, VeSMA is the first implementation to execute the complete reactiontemplate application pipeline on GPUs, rather than accelerating only template selection or substructure matching. VeSMA enumerates distinct template matches, applies the corresponding graph transformations, constructs precursor molecules, and updates the number of hydrogen atoms and recalculates aromaticity. We evaluate VeSMA using the PaRoutes collection of published multi step retrosynthetic routes and reaction templates derived from USPTO patents, testing agreement across backends and with established reaction engines, as well as its use in successive retrosynthetic steps. Across nearly 770 000 confirmed molecule–template pairs, VeSMA and RDChiral produce identical precursor outcome sets for 98.3% of pairs when stereochemistry is excluded from the comparison. We further measure reaction application throughput and demonstrate integration into an exhaustive depthtwo expansion. VeSMA is released as a library for integration into retrosynthetic planning workflows, benchmarking, and further development.
Authors
- Anna Reymer (ORCID: https://orcid.org/0000-0001-8458-7918)
- Alexey Voronov (ORCID: https://orcid.org/0000-0003-0709-4954)
Institutions
- Institut pour l'avancée des biosciences (FR)
- Université Grenoble Alpes (FR)
Publication Details
- Journal
- ChemRxiv
- Published
- 2026-11-25
- DOI
- https://doi.org/10.26434/chemrxiv.15012766/v1
- Primary Topic
- Computational Drug Discovery Methods
- Type
- preprint