Skip to main content

PKSmart: An Open-Source Computational Model to Predict in vivo Pharmacokinetics of Small Molecules

Project description

PKSmart

Drug exposure is a key contributor to the safety and efficacy of drugs. It can be defined using human pharmacokinetics (PK) parameters that affect the blood concentration profile of a drug, such as steady-state volume of distribution (VDss), total body clearance (CL), half-life (t½), fraction unbound in plasma (fu) and mean residence time (MRT). In this work, we used molecular structural fingerprints, physicochemical properties, and predicted animal PK data as features to model the human PK parameters VDss, CL, t½, fu and MRT for 1,283 unique compounds. First, we predicted animal PK parameters [VDss, CL, fu] for rats, dogs, and monkeys for 372 unique compounds using molecular structural fingerprints and physicochemical properties. Second, we used Morgan fingerprints, Mordred descriptors and predicted animal PK parameters in a hyperparameter-optimised Random Forest algorithm to predict human PK parameters. When validated using repeated nested cross-validation, human VDss was best predicted with an R2 of 0.55 and a Geometric Mean Fold Error (GMFE) of 2.09; CL with accuracies of R2=0.31 and GMFE=2.43, fu with R2=0.61 and GMFE=2.81, MRT with R2=0.28 and GMFE=2.49, and t½ with R2=0.31 and GMFE=2.46 for models combining Morgan fingerprints, Mordred descriptors and predicted animal PK parameters. We evaluated models with an external test set comprising 315 compounds for VDss (R2=0.33 and GMFE=2.58) and CL (R2=0.45 and GMFE=1.98). We compared our models with proprietary pharmacokinetic (PK) models from AstraZeneca and found that model predictions were similar with Pearson correlations ranging from 0.77-0.78 for human PK parameters of VDss and fu and 0.46-0.71 for animal (dog and rat) PK parameters of VDss, CL and fu. To the best of our knowledge, this is the first work that publicly releases PK models on par with industry-standard models. Early assessment and integration of predicted PK properties are crucial, such as in DMTA cycles, which is possible with models in this study based on the input of only chemical structures. We developed a webhosted application PKSmart (https://broad.io/PKSmart) which users can access using a web browser with all code also downloadable for local use.

Install using PyPI

pip install pksmart

Install from source

  1. Clone this repo
git clone https://github.com/Manas02/pksmart-pip
  1. Install the PKSmart Package
poetry install
poetry build

Usage

Help

Simply run pksmart or pksmart -h or pksmart --help to get helper.

Running PKSmart as CLI

Run pksmart -s or pksmart --smi or pksmart --smiles to run inference on a single SMILES string.

Alternatively, Run pksmart -f or pksmart --file to run inference using a file containing newline separated SMILES strings.

Running PKSmart as Library

import pksmart


if __name__ == "__main__":
    smiles = "CCCCCO"
    out = pksmart.predict_pk_params(smiles)
    print(out)

Cite

If you use PKSmart in your work, please cite:

PKSmart: An Open-Source Computational Model to Predict in vivo Pharmacokinetics of Small Molecules Srijit Seal, Maria-Anna Trapotsi, Vigneshwari Subramanian, Ola Spjuth, Nigel Greene, Andreas Bender bioRxiv 2024.02.02.578658; doi: https://doi.org/10.1101/2024.02.02.578658

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

pksmart-0.2.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

pksmart-0.2.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file pksmart-0.2.1.tar.gz.

File metadata

  • Download URL: pksmart-0.2.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.15 Darwin/24.0.0

File hashes

Hashes for pksmart-0.2.1.tar.gz
Algorithm Hash digest
SHA256 0ba6a0a28d6449ed71bd8c8fe62108738320a7ca4ab09de768ee6075429334a6
MD5 9439d67d005f408ea2b4df2476154438
BLAKE2b-256 82be899aa4acc6ac29b64e4c0a2303763a963f2fb14ee6854a56b69285f546ae

See more details on using hashes here.

File details

Details for the file pksmart-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: pksmart-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.9.15 Darwin/24.0.0

File hashes

Hashes for pksmart-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e387b4089434d40b8d8e7e6c0a963eece2167d84fc41e3faf7765bf0fd85f14f
MD5 d5b78e119b8d9e52618f5365e1592627
BLAKE2b-256 20df97a7a6854e5824daa804f1090ddcbee8ba7e48e698f1671d5dab96aaca56

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