Skip to main content

Community-Maintained Version of Calculation module of QEPPI

Project description

QEPPI

Quantitative Estimate Index for Compounds Targeting Protein-Protein Interactions

License PyPI Python Versions

Calculation QEPPI with using Google Colab

We have made it so that you can use Google Colab to calculate QEPPI from SMILES without creating your own environment.
If you have a lot of SMILES to calculate, please convert the SMILES to SDF files.

Open In Colab

Mininal environment setup (Git clone)

We setup it on a Linux.

# Python >= 3.8
# dependencies
pip install rdkit      # >= 2025.3.2
pip install numpy
pip install pandas

We also confirmed that QEPPI works with Colab. (see notebook)

Clone QEPPI-community

Clone QEPPI-community repository when you are done with the setup.

git clone https://github.com/AspirinCode/QEPPI-community.git

Test

Test it after git clone the QEPPI-community repository. If the test passes, the QEPPI calculation has been successfully performed.

cd QEPPI
pytest -v

QEPPI calculation example

# for .sdf
python calc_QEPPI.py --sdf PATH_TO_YOUR_COMPOUND.sdf --out PATH_TO_OUTPUT.csv
# for .csv ("A column name of "SMILES" is required.")
python calc_QEPPI.py --csv PATH_TO_YOUR_COMPOUND.csv --out PATH_TO_OUTPUT.csv

Instalation using pip install

You can also install QEPPI-community with pip install QEPPIcommunity. The following sample code is available as an implementation example.
Note: some dependancies will also be installed with QEPPI module, so a clean environment is preferred!

# QEPPI-community
pip install QEPPIcommunity
from QEPPI import QEPPI_Calculator, get_qeppi_properties
from rdkit import Chem
from rdkit.Chem import SDMolSupplier

q = QEPPI_Calculator()
q.read()

# SMILES
smiles = "COC1=CC(=CC=C1NC(=O)[C@@H]1N[C@@H](CC(C)(C)C)[C@@](C#N)([C@H]1C1=CC=CC(Cl)=C1F)C1=CC=C(Cl)C=C1F)C(O)=O"
mol = Chem.MolFromSmiles(smiles)
props = get_qeppi_properties(mol)

print(q.qeppi(mol))
print(props)
# 0.7862842663145835
# {'MW': 615.1503182080002, 'ALOGP': 6.9388800000000055, 'HBD': 3, 'HBA': 5, 'TPSA': 111.45000000000002, 'ROTB': 7, 'AROM': 3}

# SDF
ppi_s = SDMolSupplier("PATH_TO_SDF/YOUR_COMPOUND.sdf")
ppi_mols = [mol for mol in ppi_s if mol is not None]
result = list(map(q.qeppi, ppi_mols))

Reference

If you find QEPPI useful, please consider citing this publication;

Another QEPPI publication (conference paper)

  • Kosugi T, Ohue M. Quantitative estimate of protein-protein interaction targeting drug-likeness. In Proceedings of The 18th IEEE International Conference on Computational Intelligence in Bioinformatics and Computational Biology (CIBCB 2021). (in press) ChemRxiv, Preprint. 2021. doi:10.33774/chemrxiv-2021-psqq4-v2

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

qeppicommunity-0.1.21.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

qeppicommunity-0.1.21-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file qeppicommunity-0.1.21.tar.gz.

File metadata

  • Download URL: qeppicommunity-0.1.21.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for qeppicommunity-0.1.21.tar.gz
Algorithm Hash digest
SHA256 977f813d71dc17a27ccc356d459bd082acdd79be2f3b4847fd2902c29df8078b
MD5 11e4a725bba120d377279cd94d46dfc6
BLAKE2b-256 5e2f298e6ef34275320e59612633204fd348d090d1779cb81fe9502740304c8b

See more details on using hashes here.

File details

Details for the file qeppicommunity-0.1.21-py3-none-any.whl.

File metadata

File hashes

Hashes for qeppicommunity-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 b05327c7153781bde239edb13fb825624661bf6a7270782a29d4994abae27fe9
MD5 7aca9d6e9f2b29586a50f8834526d167
BLAKE2b-256 f37270c9a637bc21f8bab57a8b18e0ead342e6a85105d814c7e3459a3f89fdf4

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