Skip to main content

Synthesis Rebalancing Framework for Computational Chemistry

Project description

SynRBL: Synthesis Rebalancing Framework

SynRBL is a toolkit tailored for computational chemistry, aimed at correcting imbalances in chemical reactions. It employs a dual strategy: a rule-based method for adjusting non-carbon elements and an mcs-based (maximum common substructure) technique for carbon element adjustments.

screenshot

Table of Contents

Repository Structure

SynRBL is organized into several key components, each dedicated to a specific aspect of chemical data processing:

Main Components

  • SynRBL/: Main package directory
    • SynProcessor/: Data processing module
    • SynRuleImputer/: Rule-based imputation module
    • SynMCSImputer/: MCS-based imputation module
    • SynChemImputer/: MCS-based imputation module
    • SynVis/: Data visualization module

Test Suite

  • tests/: Test scripts and related files
    • SynProcessor/: Tests for SynExtract module
    • SynRuleImputer/: Tests for SynRuleImpute module
    • SynMCSImputer/: Tests for MCS-based imputation module
    • SynChemImputer/: Tests for MCS-based imputation module
    • SynVis/: Tests for SynVis module

Additional Resources

  • License: License document
  • README.md: Overview and documentation
  • setup.py: Installation
  • .gitignore: Configuration for ignoring certain files and directories

Installation

To install and set up the SynRBL framework, follow these steps. Please ensure you have Python 3.11 or later installed on your system.

Prerequisites

  • Python 3.11
  • RDKit == 2023.9.4
  • joblib==1.3.2
  • seaborn==0.13.2
  • xgoost==2.0.3
  • scikit_learn==1.4.1.post1
  • imbalanced_learn==0.12.0
  • reportlab==4.1.0

Step-by-Step Installation Guide

  1. Python Installation: Ensure that Python 3.11 or later is installed on your system. You can download it from python.org.

  2. Creating a Virtual Environment (Optional but Recommended): It's recommended to use a virtual environment to avoid conflicts with other projects or system-wide packages. Use the following commands to create and activate a virtual environment:

python -m venv synrbl-env
source synrbl-env/bin/activate  # On Windows use `synrbl-env\Scripts\activate`

Or Conda

conda create --name synrbl-env python=3.11
conda activate synrbl-env
  1. Cloning and Installing SynRBL: Clone the SynRBL repository from GitHub and install it:
git clone https://github.com/TieuLongPhan/SynRBL.git
cd SynRBL
pip install .
  1. Verify Installation: After installation, you can verify that SynRBL is correctly installed by running a simple test or checking the package version.
python -c "import SynRBL; print(SynRBL.__version__)"

Usage

from SynRBL import SynRBL

TODO

Contributing

License

This project is licensed under MIT License - see the License file for details.

Acknowledgments

This project has received funding from the European Unions Horizon Europe Doctoral Network programme under the Marie-Skłodowska-Curie grant agreement No 101072930 (TACsy -- Training Alliance for Computational)

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

synrbl-0.0.2.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

synrbl-0.0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synrbl-0.0.2.tar.gz
  • Upload date:
  • Size: 4.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for synrbl-0.0.2.tar.gz
Algorithm Hash digest
SHA256 21416c288ef569a875358b004d200a6abd8fb6b90fdeee65dac2e3a4c075df86
MD5 2db1356e796026bfbbc7283f7f8c8046
BLAKE2b-256 4ead88a5c4cda826f602ffa7964c4fa17f694fcaa79c2c6e62e587a4ba0a4a93

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: synrbl-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for synrbl-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 246320587bae79644309d053d2fcd719d731ea310fa3a009714b0a664891d7c6
MD5 18699935689d606330a09cea74d44bf8
BLAKE2b-256 da1d73e7d90bd9251cc24fb4d112190106dd91cb93f190f082b30af10cd27137

See more details on using hashes here.

Provenance

Supported by

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