Skip to main content

PKSmart

Drug exposure is a critical determinant of drug safety and efficacy, defined through human phar-macokinetics (PK) parameters such as steady-state volume of distribution (VDss), total body clear-ance (CL), half-life (t½), fraction unbound in plasma (fu), and mean residence time (MRT), which influence a drug's blood concentration profile. In this study, we modelled these human PK parame-ters for 1,283 unique compounds using molecular structural fingerprints, physicochemical proper-ties, and predicted animal PK data. We first predicted animal PK parameters (VDss, CL, fu) for rats, dogs, and monkeys for 371 compounds using molecular structural fingerprints and physico-chemical properties. Next, we employed Morgan fingerprints, Mordred descriptors, and predicted animal PK parameters in a hyperparameter-optimized Random Forest algorithm to predict human PK parameters. Repeated nested cross-validation demonstrated predictive performance for VDss (R² = 0.53 and Geometric Mean Fold Error, GMFE= 2.13), CL (R² = 0.31, GMFE = 2.46), fu (R² = 0.63, GMFE = 2.71), MRT (R² = 0.27, GMFE = 2.50), and t½ (R² = 0.31, GMFE = 2.46). External validation on 315 compounds showed strong performance for VDss (R² = 0.39, GMFE = 2.46) and CL (R² = 0.46, GMFE = 1.95). Comparison with AstraZeneca PK models revealed similar predic-tive performance, with Pearson correlations ranging from 0.46 to 0.73 for animal PK parameters of VDss, CL, and fu. PKSmart models further demonstrated predictive performance for VDss (R² = 0.33, RMSE = 0.58), comparable to AstraZeneca's human VDss models (R² = 0.30, RMSE = 0.60) on an external test set of 51 compounds. To our knowledge, this is the first publicly available set of PK models with performance on par with industry standard models. These models enable early in-tegration of predicted PK properties into workflows such as Design-Make-Test-Analyze (DMTA) cycles using only chemical structures as input. We also developed a web-hosted application, PKSmart (https://broad.io/PKSmart), accessible via browser, with all associated code available 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

Metadata

Release files for pksmart 3.0.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 pksmart 3.0.1
File Size Uploaded
pksmart-3.0.1.tar.gz 42.4 MB Details

Built distribution (wheel)

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

Total release size: 85.3 MB

Release files / pksmart-3.0.1.tar.gz

Download URL pksmart-3.0.1.tar.gz
Size 42.4 MB
Tags Source
SHA-256 checksum
How to use checksums
79b4aba558a830b64ea1280fd6caa843107db65e942da1659e08e024122f87ae
BLAKE2b-256 checksum
How to use checksums
64293851ed792c69eec6c98d5bc083e391c4dd667e958ad6b141bf19a776e768
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.8 Darwin/24.6.0

Release files / pksmart-3.0.1-py3-none-any.whl

Download URL pksmart-3.0.1-py3-none-any.whl
Size 43.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0226969196cade1954b8355b600132d32a709fc7f12ef71a5db102f52de84743
BLAKE2b-256 checksum
How to use checksums
603cf3b4c8c8848875f69f72f793d37b9f465ea19a6b4ac00d95761393593bbc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.12.8 Darwin/24.6.0

Release history Release notifications | RSS feed

This release

3.0.1 This release

2 release files

3.0.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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