Skip to main content

PharMD - extraction of pharmacophores from MD trajectories and virtual screening

PharMD is a tool to retrieve pharmacophore models from MD trajectories of protein-ligand complexes, identification of redundant pharmacophores and virtual screening with multiple pharmacophore models using different scoring schemes.

Dependency

mdtraj >= 1.9.3
plip >= 1.4.2
pmapper >= 0.3.1
psearch >= 0.0.2

Installation

pip install pharmd

Usage

Retrieve pharmacophores from an MD trajectory

To retrieve individual snapshots of MD trajectory mdtraj package is used. Therefore the md2pharm utility takes the same arguments as mdconvert utility from mdtraj. Thus you may extract only specified frames not all of them. You have to specify ligand code as it is given in PDB topology file. Individual frames will be stored in a single PDB file without solvent molecules. Pharmacophore models for each frame in xyz-format will be stored in the same directory as output pdb-file.

md2pharm -i md.xtc -t md.pdb -s 10 -g LIG -o pharmacophores/frames.pdb

Retrieve non-redundant pharmacophores

Similar pharmacophores are recognized by identical 3D pharmacophore hashes. It is expected that pharmacophores with identical hashes would have RMSD less than the specified binning step. By default binning step equals to 1A. Pharmacophores with distinct hashes are stored in a specified directory. Optionally one may provide a path where to store hashes for al pharmacophores.

get_distinct -i pharmacophores/ -o distinct_pharmacophores/

Perform virtual screening using multiple non-redundant pharmacophores

screen_db utility from psearch package is used for this purpose. Therefore you have to generate database of compound conformers and their pharmacophore representations using utilities from psearch package. At this step you may specify a desired binning step value which will be used further in screening (default is 1).

prepare_db -i input.smi -o compounds.db -c 2 -v 

If you would like to calculate scoring based on Conformer Coverage Approach you have to specify --conf argument for screen_db. Then all conformers of a compound matching pharmacophore models will be retrieved as hits (may be slower). Otherwise only the first matching conformer will be returned.

It is recommended to restrict screening to complex pharmacophores having at least four features, because less complex models would retrieve many irrelevant compounds.

screen_db -i compounds.db -q distinct_pharmacophores/ -o screen/ --conf -c 2 -f 4

Multiple txt-files will be created in the output directory containing hit lists retrieved by individual pharmacophore models.

Calculate compound scores based on multiple hit lists

The advantage of ensemble scoring is that you do not need validate individual models and select best performing ones. Ensemble scoring is calculated by:

  1. Conformer Coverage Approach (CCA) - the score is equal to the percentage of conformers matching at least one of supplied pharmacophore models.
  2. Common HIts Approach (CHA) - the score is equal to the percentage of models matched at least one conformer of a compound.

In the case of CCA scoring you have to supply the database of screened compounds as an additional parameter.

get_scores -i screen/ -o cca_scores.txt -s cca -d compounds.db

Documentation

All utilities have -h option to get help pages with descriptions of all available arguments.

Citation

Virtual Screening Using Pharmacophore Models Retrieved from Molecular Dynamic Simulations
Pavel Polishchuk, Alina Kutlushina, Dayana Bashirova, Olena Mokshyna, Timur Madzhidov
Int. J. Mol. Sci. 2019, 20(23), 5834
https://doi.org/10.3390/ijms20235834

License

BSD-3 clause

Metadata

Release files for pharmd 0.1.1

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

Source distribution (sdist)

Source distribution for pharmd 0.1.1
File Size Uploaded Provenance Actions
pharmd-0.1.1.tar.gz 13.0 kB Without provenance Details for pharmd-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 33.4 kB

Release files / pharmd-0.1.1.tar.gz

Download URL pharmd-0.1.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fb3ca738908b0c7c076be4dd177cc9de9da7e6d3f391d1088f649d02eb1fb4b6
BLAKE2b-256 checksum
How to use checksums
6d01d456b683f2bea29184f18ac6e64762b9b4e9b9d99bb9814458cf7674535e
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 / pharmd-0.1.1-py3-none-any.whl

Download URL pharmd-0.1.1-py3-none-any.whl
Size 20.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c1b7d1f1db8c257768640e2ad61a58bcd9e7f2c27dae2c497c2542c61587be31
BLAKE2b-256 checksum
How to use checksums
4b0660b5d308c55c43b238d81ff57c559f38ad5df52ff0a0393aba0c7ab42e47
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

Security for pharmd 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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