Skip to main content

Calculation module of QEPPI

Project description

QEPPI

Quantitative Estimate Index for Compounds Targeting Protein-Protein Interactions

License GitHub Clones Hits PyPI Python Versions tests

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 Mac (macOS10.15.7), but I'm sure it will run fine on other platforms such as Linux.

# Python 3.7 | 3.8
# dependencies
pip install rdkit-pypi # >= 2021.3.1.5
pip install numpy      # >= 1.19.5
pip install pandas     # >= 1.1.5

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

Clone QEPPI

Clone QEPPI repository when you are done with the setup.

git clone https://github.com/ohuelab/QEPPI.git

Test

Test it after git clone the QEPPI repository. If the test passes, the QEPPI calculation has been successfully performed. (We used pytest version is 6.2.2)

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 with pip install QEPPI. 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
pip install QEPPI
import QEPPI as ppi
from rdkit import Chem
from rdkit.Chem import SDMolSupplier

q = ppi.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)
print(q.qeppi(mol))
# 0.7862842663145835

# 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

QEPPI-0.1.11.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

QEPPI-0.1.11-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file QEPPI-0.1.11.tar.gz.

File metadata

  • Download URL: QEPPI-0.1.11.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for QEPPI-0.1.11.tar.gz
Algorithm Hash digest
SHA256 d9be23977e3e4dec1f4c1f67c8aed34dbc8d38325b01d7c1d560e780ba23908b
MD5 49c3a12aef9e32be7311350ae389332a
BLAKE2b-256 283c737231d56551182009537128afafa3d1b2e766e13e8bb02a7471fe935f8a

See more details on using hashes here.

File details

Details for the file QEPPI-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: QEPPI-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.2

File hashes

Hashes for QEPPI-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 3ebf080ebe07cc4a28616d561ea8e93b92d5e0553ce1b51993dec9dd0418ee25
MD5 69fbcf6ea4750b83fcdb6db35d7e4d1a
BLAKE2b-256 b8dac279fbd7e76118669b6018d4314d8ea72b937b703da36bd51de35132c30d

See more details on using hashes here.

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