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.
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 directorySynProcessor/
: Data processing moduleSynRuleImputer/
: Rule-based imputation moduleSynMCSImputer/
: MCS-based imputation moduleSynChemImputer/
: MCS-based imputation moduleSynVis/
: Data visualization module
Test Suite
tests/
: Test scripts and related filesSynProcessor/
: Tests for SynExtract moduleSynRuleImputer/
: Tests for SynRuleImpute moduleSynMCSImputer/
: Tests for MCS-based imputation moduleSynChemImputer/
: Tests for MCS-based imputation moduleSynVis/
: Tests for SynVis module
Additional Resources
License
: License documentREADME.md
: Overview and documentationsetup.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
-
Python Installation: Ensure that Python 3.11 or later is installed on your system. You can download it from python.org.
-
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
- 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 .
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21416c288ef569a875358b004d200a6abd8fb6b90fdeee65dac2e3a4c075df86 |
|
MD5 | 2db1356e796026bfbbc7283f7f8c8046 |
|
BLAKE2b-256 | 4ead88a5c4cda826f602ffa7964c4fa17f694fcaa79c2c6e62e587a4ba0a4a93 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 246320587bae79644309d053d2fcd719d731ea310fa3a009714b0a664891d7c6 |
|
MD5 | 18699935689d606330a09cea74d44bf8 |
|
BLAKE2b-256 | da1d73e7d90bd9251cc24fb4d112190106dd91cb93f190f082b30af10cd27137 |