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-3.0.0.tar.gz (42.4 MB view details)

Uploaded Source

Built Distribution

pksmart-3.0.0-py3-none-any.whl (43.0 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pksmart-3.0.0.tar.gz
  • Upload date:
  • Size: 42.4 MB
  • 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-3.0.0.tar.gz
Algorithm Hash digest
SHA256 529e5f9dbbaa40fbad783bf197d1307128721215f6f9e6c58bd4fb79470cf7e2
MD5 9dfe12c41546672ab6e9925dd5652aa7
BLAKE2b-256 0a9d5750b8e21cbb42e1e31c84ce9e7797941477104af0b718df38e270495985

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pksmart-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 43.0 MB
  • 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-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f825fa186a26e2b367095fa07b33237cf3ee95ae280dce652359384d2f3a15e
MD5 f85b8dc059281da23c1f7729364a7fe5
BLAKE2b-256 dbb00b7047208fa7f05f97ae582ef075016ad9855c4042725850051f7a21fa67

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