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

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. Install with pip: Clone the SynRBL repository from GitHub and install it:
pip install synrbl
  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

  1. Jupyter Notebook:
from synrbl import Balancer
  1. Command line
python -m synrbl run --help
  1. Reproduce the experiment
python -m synrbl run -o validation_results.csv -p 4 ./Data/Validation_set/validation_set.csv

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.8.tar.gz (4.5 MB view details)

Uploaded Source

Built Distribution

synrbl-0.0.8-py3-none-any.whl (191.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: synrbl-0.0.8.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.8.tar.gz
Algorithm Hash digest
SHA256 157b99a0ac3e360355ab1e2836d8a6a4c4c1fcd52160c85b809b7d07a800e60a
MD5 a2dc3ac0bb5454a5b6b745f6600c492e
BLAKE2b-256 2886082dee5389753c8bd486879e55d26d3f2185a225fadf2f1fe4bb9beb9d85

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: synrbl-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 191.5 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7bf7dcb58696cfa18eda55d07ddc8f6c054dd7353c841679f306c391d656b693
MD5 44a62e65916ade374622e18fb49213f6
BLAKE2b-256 29cc30580f836decbdde7122fe162da2c6aa3cad6a562578891af06efe372354

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