Skip to main content

An Open-Source Molecular Alignment Tool

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maligner-0.0.2.tar.gz (181.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

maligner-0.0.2-py3-none-any.whl (193.2 kB view details)

Uploaded Python 3

File details

Details for the file maligner-0.0.2.tar.gz.

File metadata

  • Download URL: maligner-0.0.2.tar.gz
  • Upload date:
  • Size: 181.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.7

File hashes

Hashes for maligner-0.0.2.tar.gz
Algorithm Hash digest
SHA256 02210d518688ea25302e2c94a6e994b8d549dd3658188baaa4d3a2ec1f62648c
MD5 b2fba79a1704b57519e3bb7de18824ac
BLAKE2b-256 c13f8c065ca1af87c3b6147923fe46f8a4d8b58ff3f3bc5513bf1b54a984cc37

See more details on using hashes here.

File details

Details for the file maligner-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: maligner-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 193.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.5.7

File hashes

Hashes for maligner-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e61e9cc5922decf81ac051da4af4f0aa11d515a941705784909c36f54f04604
MD5 5666df2d87346664423347118bd6c715
BLAKE2b-256 96ce86c196700efda449571ccf3b60f4729f441b03595a87d80a574e34df7162

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page