maligner is an open-source tool for molecular alignment, designed to facilitate the manipulation and visualization of molecular structures. The goal is to provide an intuitive graphical interface and advanced functionalities to align molecules efficiently, leveraging the power of RDKit.
- Install
uv
.
A global Python installation is not required as uv
will handle the environment setup.
To run the application, use the following command:
uv run gui
This will:
- Create and resolve a new environment (located at
.venv
). - Install all necessary dependencies (including dev-dependencies).
- Launch the application's GUI.
The project is currently in the IDEA
stage and is not yet ready for real usage. Contributions are welcome and appreciated!
We use the following dev-only tools.
Run the following commands as needed to run them.
$ uv run mypy
$ uv run ruff check
$ uv run ruff format
-
Main Screen:
- Load molecules in
.mol
,.mol2
, etc. - Display molecules in a grid with filenames.
- Mark a molecule as anchor.
- Navigate to structure selector.
- Add options menu.
- Implement "Preview Alignment" and "Save Alignment" buttons.
- Load molecules in
-
Options Menu:
- Overwrite original files.
- Suffix aligned files (with user-defined suffix).
- (Default) Save in a separate directory (
aligned
).
-
Atom Selector:
- Display molecule and calculate MCS by default.
- Add selection buttons: Select MCS, Select All, Select None.
- Include Cancel and Save buttons.
- Allow users to click on atoms to select/deselect.
- Enable selection by SMILES/SMARTS.
- (Optional) Implement lasso tool for selection.
For support, reach out via:
This project is licensed under the GPL-3.0 License. See the LICENSE file for details.