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.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

pksmart-0.2.2-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pksmart-0.2.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for pksmart-0.2.2.tar.gz
Algorithm Hash digest
SHA256 8762a2139dce25d30a33519df2aff928c465f19a832716b5574cd45cef561018
MD5 4f0f622f7e761ae77cdc6f31d5fdcc5b
BLAKE2b-256 dc515ecaaec7287996e4340414310aff6700316c4a4fb6afdceab3fff7e69954

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pksmart-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.7 Darwin/24.1.0

File hashes

Hashes for pksmart-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 728ae499b6d39f8087bbecc08fb89950d41d14bed2cd6d50667b66a9cf4fc8f9
MD5 f00d5f3816a731edbffb51b25157a2ea
BLAKE2b-256 6ff3a3c1207f54fe05414de76dc7db582398321bd5a2c0206a7af3224edf6370

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