Skip to main content

maligner

An Open-Source Molecular Alignment Tool.

GitHub top language GitHub License Powered by RDKit

About

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.

Built With

Getting Started (development)

Prerequisites

  • Install uv.

A global Python installation is not required as uv will handle the environment setup.

Usage

To run the application, use the following command:

uv run gui

This will:

  1. Create and resolve a new environment (located at .venv).
  2. Install all necessary dependencies (including dev-dependencies).
  3. Launch the application's GUI.

Development

Stage of development

The project is currently in the IDEA stage and is not yet ready for real usage. Contributions are welcome and appreciated!

Development Setup

We use the following dev-only tools.

  • mypy for type-checking.
  • ruff for linting and formatting.

Run the following commands as needed to run them.

$ uv run mypy
$ uv run ruff check
$ uv run ruff format

Roadmap

  • 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.
  • 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.

Support

For support, reach out via:

License

This project is licensed under the GPL-3.0 License. See the LICENSE file for details.

Metadata

Release files for maligner 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for maligner 0.0.2
File Size Uploaded
maligner-0.0.2.tar.gz 181.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for maligner 0.0.2
File Interpreter ABI Platform
maligner-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 374.3 kB

Release files / maligner-0.0.2.tar.gz

Download URL maligner-0.0.2.tar.gz
Size 181.1 kB
Tags Source
SHA-256 checksum
How to use checksums
02210d518688ea25302e2c94a6e994b8d549dd3658188baaa4d3a2ec1f62648c
BLAKE2b-256 checksum
How to use checksums
c13f8c065ca1af87c3b6147923fe46f8a4d8b58ff3f3bc5513bf1b54a984cc37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.7

Release files / maligner-0.0.2-py3-none-any.whl

Download URL maligner-0.0.2-py3-none-any.whl
Size 193.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e61e9cc5922decf81ac051da4af4f0aa11d515a941705784909c36f54f04604
BLAKE2b-256 checksum
How to use checksums
96ce86c196700efda449571ccf3b60f4729f441b03595a87d80a574e34df7162
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.5.7

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page