Skip to main content

A Simple Pharmacophore-Toolkit

Pharmacophore-Toolkit Versions Python Versions Pharmacophore-Toolsets Test Read the Docs

The Pharmacophore-Toolkit is built on RDKit and allows for building simple pharmacophore models. The Pharmacophore-Toolset can generate models from crystal structures, docking poses, or SMILES string. To generate a 3D model, a .pml file will be generated. This files contains scripts to generate spheres with color and XYZ coordinates defined. The final 3D image can be rendered in PyMOL.

Documentation for the project can be found here.

Install

You can install the Pharmacophore-Toolkit using pip:

pip install pharmacophore-toolkit

Alternatively, the environment can be created by cloning the repository and then running the following conda script:

conda env create -f environment.yaml

[!NOTE] Note: The Pharmacophore-Toolkit relies on cairosvg to create images before being converted into .png format. Depending on your workstation/machine, the CairoSVG package will need to be installed manually. Installation instructions can be found here. If it is not already installed on your machine globally, users can try conda to install cairosvg:

conda install conda-forge::cairosvg

Conda installation solved the problem on my machine, but may differ with yours.

Tutorials

Tutorials are written as JupyterNotebooks and can be found here. The Pharmacophore-Toolkit can generate several types of images:

Example Images

3D Model

A 3D conformation of molecules and alignment was performed using RDKit. Spheres can be generated for each query molecule to highlight pharmacophore features, such as Hydrogen Bond Donor/Acceptor, Hydrophobic, Aromatic, etc. The molecules can be generated in 3D using two methods:

The 3D model can be interactive in a Jupyter Notebook.
Images rendered in Jupyter Notebook using py3Dmol using a screenshot. The 3D models can also be rendered in Marimo notebooks. Pharmacophore features for each molecule is highlighted. Blue spheres represent Hydrogen Bond Donors, gold spheres for Aromatic rings, and green for Hydrophobes.
Images rendered in PyMOL using the generated .pml file. Molecules are colored using default settings and mirror those found using py3Dmol above. In this example, the spheres are mapped to Serotonin. Blue spheres represent Hydrogen Bond Donors and gold spheres represent Aromatic rings.

2D Model

The pharmacophore features can also be depicted as a 2D image, where each atom is highlighted with their respective pharmacophore features.

2D Pharmacophore images. Images were lightly edited to remove duplicate figure legends.

Similarity Map

For funsies, a method to generate Similarity Maps are also available. Final image generation requires Cairo installation. Additional information on how Similarity Maps work can be found on the RDKit blog.

Similarity map of molecules. All molecules were compared to Serotonin. More information can be seen at the RDKit documentation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pharmacophore_toolkit-1.2.0.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

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

pharmacophore_toolkit-1.2.0-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file pharmacophore_toolkit-1.2.0.tar.gz.

File metadata

  • Download URL: pharmacophore_toolkit-1.2.0.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.6 Darwin/25.6.0

File hashes

Hashes for pharmacophore_toolkit-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c7615652cf068a5fce38acc22c6ec59189887611a6ce383f348183b37c15a284
MD5 c29e7c3466eb7669936198602ddb9bde
BLAKE2b-256 4a40d38982fcbbc99a78ac32456ae47f83e9937e41b25a7717473b6f066a60df

See more details on using hashes here.

File details

Details for the file pharmacophore_toolkit-1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pharmacophore_toolkit-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3862bca0f5a313694b4d772ec282e3a3cf9cdefa74cc04983c76260c4936f90a
MD5 37d5efc2f5ea932205af33ebc96098eb
BLAKE2b-256 6ab125a2d1426a6d29ba5d0b10d0a6e26f02a343eca525d245157ade46a617bc

See more details on using hashes here.

Release history Release notifications | RSS feed

1.2.1

2 files

This release

1.2.0 This release

2 files

1.1.0

2 files

1.0.0

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page