MolPainter
MolPainter: A Tool for Painting and Solvating Layered Molecular Systems - Published in JOSS (2023)
Science Score: 93.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in JOSS metadata -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Scientific Fields
Repository
A Tool for Drawing Complex Planar Molecular Systems of Arbitrary Composition and Placement
Basic Info
- Host: GitHub
- Owner: gpantel
- License: mit
- Language: Python
- Default Branch: master
- Size: 7.31 MB
Statistics
- Stars: 9
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
MolPainter
Table of Contents
- Introducing MolPainter and MolSolvator
- Installation
- Dependencies
- Test Dependencies
- Documentation
- Tutorial
- What's new in 1.1?
Introducing MolPainter and MolSolvator
Tools for building and solvating complex, planar molecular systems of arbitrary molecular composition and placement via painting.

MolPainter is a novel graphical tool that enables users to specifically define the location of molecules in multi-layered, planar molecular systems. MolPainter achieves this by treating each plane of a hypothetical molecular system, defined by a z-axial position, as a two dimensional grids which serve as canvases. By associating molecular structures (in PDB format) to colors, these canvases can be painted to precisely define molecular environments.
MolSolvator, the sister program of MolPainter, is a command line tool that can rapidly solvate such planar systems within the context of the lattices of the "solute" systems produced by MolPainter.
Installation
Install through pip:
pip install MolPainter
Run from the command line:
molpainter
molsolvator -i input.toml
Dependencies
MolPainter's GUI makes use of tkinter in order to provide a native interface on Linux, Mac, and Windows.
The additional package dependencies are numpy, scipy, toml, and MDAnalysis.
Test Dependencies
Tests can be run with pytest from the root of the source tree:
python3 -m pytest
Documentation
Descriptions of the objects and functions of MolPainter and MolSolvator are available here
Tutorial
A tutorial demonstrating the major functions of MolPainter and MolSolvator on a complex mixture lipid bilayer is available here
What's new in 1.1?
Solute systems can now be added during a MolPainter session! These are systems in PDB format to which you want to paint using MolPainter while avoiding clashes.
Let's say for example you wish to use MolPainter to paint lipids around one or multiple proteins. In 1.0 you would have to do this by guessing where the protein will be located and paint the system to try to avoid clasing with the protein. Not very convenient...
Now you can Insert a Solute into MolPainter canvases. A solute will "obstruct" cells in the layers of MolPainter, making them unavailable for painting, based on the real coordinates of the Solute system described in the input PDB file. Just how far these obstructed cells extend from the coordinates of the Solute can be tweaked by adjusting the Buffer space. This is the same kind of "buffer" used in MolSolvator to avoid clashes when solvating.
When the system is ultimately exported, the solute will be written first, followed by the molecules that have been painted using MolPainter.
The new Insert Solutes button has the following fields
- Path path to a PDB file of the solute you want to add. There can only be one solute in the system at a time!
- Buffer space (Å) the length of the buffer added to obstruct more cells neighboring coordinates of the solute.
- Center solute at z (Å) centers the (x,y,z) coordinates of the solute to the center of the MolPainter grid at a particular plane in the z-dimension.
- Expand grid to fit solute expands the MolPainter grid to fit the (x,y,z) coordinates of the solute system. If the solute system has negative coordinates, these coordinates will still lay outside of the MolPainter canvases!
Let us promote your work using MolPainter!
- Please reach out to us and let us know about the cool work you've done!
- We would like to promote interesting systems constructed using MolPainter.
Owner
- Login: gpantel
- Kind: user
- Repositories: 2
- Profile: https://github.com/gpantel
JOSS Publication
MolPainter: A Tool for Painting and Solvating Layered Molecular Systems
Authors
Laboratory of Chemical Physics, National Institute of Diabetes and Digestive and Kidney Diseases, National Institutes of Health, Bethesda, Maryland, USA, Department of Chemistry, Boston University, Boston, Massachusetts, USA
Independent Researcher, USA
Tags
python molecularDynamics lipidBilayersGitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 8
- Total pull requests: 15
- Average time to close issues: about 1 month
- Average time to close pull requests: 3 minutes
- Total issue authors: 3
- Total pull request authors: 2
- Average comments per issue: 3.38
- Average comments per pull request: 0.0
- Merged pull requests: 15
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- HubLot (6)
- gpantel (1)
- arkajitmandal (1)
Pull Request Authors
- gpantel (11)
- a-a-ron1 (4)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 2
-
Total downloads:
- pypi 72 last-month
-
Total dependent packages: 0
(may contain duplicates) -
Total dependent repositories: 1
(may contain duplicates) - Total versions: 12
- Total maintainers: 2
pypi.org: molpainter-gpantel
Tool for drawing complex planar molecular systems of arbitrary composition and molecule placement
- Homepage: https://github.com/gpantel/MolPainter
- Documentation: https://molpainter-gpantel.readthedocs.io/
- License: MIT
-
Latest release: 1.1.3
published almost 3 years ago
Rankings
Maintainers (1)
pypi.org: molpainter
Tool for drawing complex planar molecular systems of arbitrary composition and molecule placement
- Homepage: https://github.com/gpantel/MolPainter
- Documentation: https://molpainter.readthedocs.io/
- License: MIT
-
Latest release: 1.1.6
published over 2 years ago
Rankings
Dependencies
- MDAnalysis *
- numpy *
- scipy *
- toml *