Skip to main content

PSearch - 3D ligand-based pharmacophore modeling

PSearch is a tool to generate 3D ligand-based pharmacophore models and perform virtual screening with them.

Installation

pip install psearch

Dependency

pmapper >= 0.3.1

Example

Creation of ligand-based pharmacophore models

It is recommended to create an empty dir which would be your $PROJECT_DIR and copy an input file to that location.
There are two steps of pharmacophore model generation.

  1. Dataset preparation.
prepare_datatset -i $PROJECT_DIR/input.smi -c 4

-i - path to the input file
-c - number of CPUs to use
There are some other arguments which one can use. Invoke script with -h key to get full information.

The script takes as input a tab-separated SMILES file containing SMILES, compound id, activity columns without a header. The third column should contain a word active or inactive. The script splits input compounds on active and inactive subsets, generates stereoisomers and conformers, creates databases of active and inactive compounds with labeled pharmacophore features.

  1. Model building.
psearch -p $PROJECT_DIR -c 4

-p - path to the project dir
-c- number of CPUs to use

There are two other arguments which are worth to mention:
-t - threshold for compound clustering to create training sets. Default: 0.4.
-ts - strategies to create training sets. 1 - a single training set will be created from centroids of individual clusters (capturing a common binding mode for all compounds). 2 - multiple training sets will be created, one per cluster (capturing individual binding modes for compound clusters). By default both strategies are used.

Virtual screening with pharmacophore models

  1. Database creation.

The script takes as input a tab-separated SMILES file containing SMILES and compound id columns.

prepare_db -i compounds.smi -o compounds.db -c 4 -v

-i - path to the input file
-c - number of CPUs to use -v - print progress
There are other arguments available to tweak database generation. To get the full list of arguments invoke -h key.

  1. Virtual screening.
screen_db -d compounds.db -q $PROJECT_DIR/models/ -o screen_results/ -c 4

-d - input generated SQLite database
-q - pharmacophore model or models or a directory with models
If a directory would be specified all pma- and xyz-files will be recognized as pharmacophores and will be used for screening
-o - path to an output directory if multiple models were supplied for screening or a path to a text file
-c- number of CPUs to use

Documentation

All scripts have -h argument to retrieve descriptions of all available options and arguments.

Authors

Alina Kutlushina, Pavel Polishchuk

Citation

Ligand-Based Pharmacophore Modeling Using Novel 3D Pharmacophore Signatures
Alina Kutlushina, Aigul Khakimova, Timur Madzhidov, Pavel Polishchuk
Molecules 2018, 23(12), 3094
https://doi.org/10.3390/molecules23123094

License

BSD-3 clause

Metadata

Release files for psearch 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psearch 0.0.4
File Size Uploaded
psearch-0.0.4.tar.gz 27.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psearch 0.0.4
File Interpreter ABI Platform
psearch-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 65.6 kB

Release files / psearch-0.0.4.tar.gz

Download URL psearch-0.0.4.tar.gz
Size 27.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7e5e41d2597f9a46638454c88c633167b556eccf271c0f9e20cbd2dde73da049
BLAKE2b-256 checksum
How to use checksums
6dc3b2d50c294a56e52209ced6754483908663ae3d85fa8129e011d15753f4e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

Release files / psearch-0.0.4-py3-none-any.whl

Download URL psearch-0.0.4-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6a444d343b66ad85e0c01c92cc8f17383ef08f799c0eac572808e8fbbac1bf7
BLAKE2b-256 checksum
How to use checksums
26aa89a3d679a953ca0b06553d2377439e79585a05f4fcd94ac8b84b740388f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0.post20191030 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release 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