Welcome to PyCNO - Python Computational Nuclear Oncology! This repository is centered around computational methods for theranostic and nuclear oncology, including virtual theranostic trials (VTTs) and radiopharmaceutical therapy (RPT) optimization studies. Currently, the repository contains a prostate-specific membrane antigen (PSMA) physiologically based pharmacokinetic (PBPK) model. We are building this framework to support multiple models and further resources (e.g. pharmacodynamic (PD) modeling) for studying and optimizing RPTs.
The present repository contains a Python implementation of PBPK modeling of RPTs as elaborated in the following paper:
EJNMMI Radiopharmacy and Chemistry, vol. 9, pp. 6, 2024
We also have a simplified model and plan to release models in the future that incorporate more features (immune response, pharmacodynamic modelling, etc.) as well as other radioligands.
Model from the publication listed above. Includes multiple lesions, organs at risk and other organs. |
|
Simplified model with only key organs. This model does not include lesions. |
|
The original model was implemented in MATLAB SimBiology and can be found in the "matlab" directory. It has also been exported in the Systems Biology Markup Language (SBML) using the SBMLConversion.m script. The functions.py script contains some functions for using the SBML file in Python, along with example usage in example_script.py. The motivation for having the model in Python is twofold:
- Open Source - Can be run by anyone without a MATLAB license
- Easily integrated into other Python workflows
That being said, we acknowledge the advantages of MATLAB SimBiology (namely the model GUI), and ourselves do a lot of model modifications in SimBiology, and then export the final product for integration into other workflows in Python. As such, we have included a short script in the MATLAB folder for seamless conversion from SimBiology to an SBML version compatible with PyCNO.
Finally, this is a new repository, so we are making improvements. Check back for updates!
-
Clone the repository:
git clone https://github.com/qurit/PyCNO
-
Install:
First navigate to cloned repository.
conda create -n pycno_env -c conda-forge python=3.12 conda activate pycno_env pip install -e .
To get started in Python, see the examples folder.
To get started in MATLAB Simbiology, open the .sbproj file in the "matlab" directory. This will open a MATLAB-based GUI where the model can be explored, edited, and run. If you wish to export your altered MATLAB Simbiology model to be run in Python, use the export_model.m script as found in the "matlab" directory.
Stay tuned for more updates coming soon, including: optimization methods for fitting patient data, digital twinning of patients based on pre-therapy PET imaging, and more!
If you use this repository, please cite the original paper:
|
|