Skip to main content

pKaPredict project

Project description

Project Logo

Coverage Status

pKaPredict


📦 Overview

This package provides a streamlined pipeline for predicting the pKa values of molecules from their SMILES strings using machine learning. It includes functionalities that enable descriptor generation via RDKit, and model training using LightGBM and other regressors. The package is designed to be easily pip-installable and modular, making it ideal for cheminformatics applications and molecular property prediction tasks.

👩‍💻 Installation

  1. Clone the repository:
git clone https://github.com/anastasiafloris/pKaPredict.git
cd pKaPredict
  1. Create and activate the conda environnement:

If your project includes an environment.yml file:

conda env create -n pkapredict_env -f environment.yml
conda activate pkapredict_env

If not, you can create one manually:

conda create -n pkapredict_env python=3.10 -y
conda activate pkapredict_env
  1. Install the package:
pip install pKaPredict
  1. Install jupyter lab:
pip install jupyterlab

🍏 For macOS users (⚠ required for LightGBM to work):

  1. Install the system library libomp:
brew install libomp

If brew is not installed, follow the instructions here: https://brew.sh

  1. The package is yours 🎁:

Run the test_package.py file in a python or jupyter environment to predict the pKa of a molecule of your choice, using its SMILES string.

🪪 License

This project is licensed under the MIT License.
You are free to use, modify, and distribute it with proper attribution.

📗 References

The dataset used in this project is the test_acids_bases_descfinal_nozwitterions.csv file from the cbio3lab repository.
It was originally extracted from the Harvard Dataverse.

👯‍♀️ Authors

This project was completed as part of the EPFL course Practical Programming in Chemistry.

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

pkapredict-0.1.1.tar.gz (4.6 MB view details)

Uploaded Source

Built Distribution

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

pkapredict-0.1.1-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file pkapredict-0.1.1.tar.gz.

File metadata

  • Download URL: pkapredict-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pkapredict-0.1.1.tar.gz
Algorithm Hash digest
SHA256 30f4306e1dd49b581f6d9c57ab797a25ba02b909a487e1fd23da48df24520b01
MD5 e5aa8424e81db7b668e35a2dfaf168b0
BLAKE2b-256 93ecdb2f0c47e05e7b39fa406fe02b8dd14bb53950b94a6fcaadecc8302c9803

See more details on using hashes here.

File details

Details for the file pkapredict-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pkapredict-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pkapredict-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d237920b6110d896310767211595bd0fb7e55d3841b934f8dbe15857dcde5d8e
MD5 76532330f2cfb0dccffbec2676a84ca4
BLAKE2b-256 533ce1028538b5d1f6df0a4fb68355a562ac1e026120594ccadbe025b016cc4e

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