Moleculix++ is the engine underneath Moleculix Junior: a C++ library for building, viewing and simulating molecules, with a Python module on top. Where Junior keeps things simple for the classroom, Moleculix++ exposes the full machinery for those ready to go further.
The technology behind Moleculix Junior
Moleculix++ is the back end of Moleculix Junior and provides all of the application’s technology: 3D rendering, molecule construction, chemical notation, file input and molecular simulation. Through its C++ and Python APIs, the same capabilities are available directly:
- Molecular dynamics — hand a built structure to OpenMM and watch it move under a real force field, on the CPU or an NVIDIA graphics card
- Chemical notation — build molecules from SMILES strings (through RDKit or Indigo) and from HELM peptide strings (through RDKit)
- Structure files — load proteins and other structures from PDB files, and molecules from CML
- Colour schemes — CPK, Jmol and Rasmol atom colours; Shapely, hydrophobicity and charge colours for amino-acid residues
- Volume rendering — display 3D volume data such as NIfTI and NRRD images alongside molecules
- No mode switching — the 3D view you build in is the same view you simulate in
Python: chemistry you can script
Moleculix++ comes with a Python module, so molecules can be built and explored from a script as well as by hand. That makes it a good fit for a programming-meets-chemistry course, or for a teacher preparing the same demonstration for every class.
- Turn SMILES strings into molecules and inspect their atoms and bonds
- Open the interactive 3D explorer from a script
- Draw skeletal (2D) formulas and molecular surfaces
- Repeat the same steps over a whole list of molecules instead of clicking through them one at a time
Who it’s for
Advanced high-school and university students moving beyond the basics, teachers building demonstrations and lesson material, and hobbyists and developers who want a molecular engine to experiment with.
Status
Moleculix++ is in active development and is not yet packaged for download. Moleculix Junior, built on it, is the place to start.