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
- Clone this repo
git clone https://github.com/Manas02/pksmart-pip
- 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()
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
Built Distribution
File details
Details for the file pksmart-0.2.0.tar.gz
.
File metadata
- Download URL: pksmart-0.2.0.tar.gz
- Upload date:
- Size: 42.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.15 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7744ee012d437d42548654269c89a460cdc13ca8251ca40b4bfb849aa8143fdb |
|
MD5 | cac67542fd45d8f52f6cb194f9382a2a |
|
BLAKE2b-256 | a1ace21a0b9891df1e2d1d76c8243af330e455112d6da7a31ad4fb11464c4e17 |
File details
Details for the file pksmart-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: pksmart-0.2.0-py3-none-any.whl
- Upload date:
- Size: 42.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.9.15 Darwin/24.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc9ebdd55ef138c1657ead6fa1c6a7fe4169bde8319248e73b67dad1b7453505 |
|
MD5 | e20f16f4e9ff671d8e427e35b4c37bdf |
|
BLAKE2b-256 | 4d2eaf88444026a704c71646785e656599205c0b21c31533a5c631f625dd8b32 |