Skip to content
jfisher-labPublic

About

Code for the paper Clarke, Barker & Nicholls et al., 2026 (Can Res)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matthew A. Clarke, Charlie George Barker, Ashley Nicholls, Matt P. Handler, Lisa Pickard, Amna Z. Shah, David Walter, Etienne De Braekeleer, Udai Banerji, Jyoti S. Choudhary, Saif S. Ahmad, Ultan McDermott, Gregory J. Hannon, Jasmin Fisher

Graphical Abstract

Abstract

The disease burden from non-small cell lung cancer (NSCLC) adenocarcinoma is substantial, with a million new cases diagnosed globally each year and a 5-year survival rate of less than 20%. The lack of therapeutic options personalized to individual patients leads to high variation in survival. The combination of patient stratification with personalized treatment has the potential to improve outcomes; however, the variation in mutations found in NSCLC adenocarcinoma patients makes experimentally determining treatment combinations time-consuming and expensive. Here, we developed an interpretable mechanistic model to decipher complex signaling interplay and guide personalized therapy in NSCLC adenocarcinoma. This ‘virtual tumor’ model encompassed key tumor intrinsic oncogenic signaling pathways, for efficiently predicting rational drug-drug and drug-radiotherapy combination therapies in NSCLC. Diverse genetic profiles were simulated for testing over 10,000 therapeutic strategies to identify optimal approaches to overcome resistance mechanisms specific to genetic profiles and p53 status. The virtual tumor model reproduced drug additivity screens, predicted radio-sensitizing genes validated in a CRISPR screen, and identified 53BP1 as a potential drug target that improved the therapeutic window during radiotherapy. A 19-gene signature derived from the virtual tumor framework stratified patients most likely to benefit from radiotherapy, which was validated using TCGA data. These results demonstrate the utility of virtual tumors to predict effective therapeutic combinations and present a computational resource for large-scale screening of personalized therapies to guide clinical decision-making in NSCLC patients.

Here we are providing the model and codebase used to generate all the figures in the paper.

Repository Structure

scripts/
├── figures/
│ ├── input_prep.R # Loads and standardizes all data paths
│ ├── install_r.r # Installs required R packages
│ └── main/
│ ├── figure_2B_radiation_radar.R
│ ├── figure_2C_crispr.R
│ ├── figure_2D_therapeutic_window.R
│ ├── figure_2E_crispr_2nd_screen.R
│ ├── figure_3A_3B_p53_scatter.R
│ ├── figure_4_tcga_oncoplots.R
│ ├── figure_4_tcga_survival.R
│ ├── figure_5_fancy_circle.R
│ ├── figure_5_radars.R
│ ├── figure_6A_drug_radar.R
│ ├── figure_6B_6C_network_pca.R
│ ├── figure_7A_mutation_groups.R
│ └── figure_7B_mutation_lm.R
└── run_models/
  ├── specification_check.r # Check the model satisfies its specification
  └── combination_screen.r  # Run the combination KO screen

Reproducing the figures in the manuscript

Note : Figure 1 is purely schematics so no scripts are required. To run and reproduce these scripts from the data . . .

  1. Install required packages:
source("scripts/figures/install_r.r")
  1. Load all input files and processed data:
source("scripts/figures/input_prep.R")
  1. Run individual figure scripts from figures/main/ as needed:
source("scripts/figures/main/figure_2B_radiation_radar.R")

For example, other scripts are the same and will output pdfs into docs/main or docs/supplementary All supplementary figures that aren't generated from this main pipeline can be reproduced from scripts in src/.

Visualising and running the model online

In this repository we include the model JSON files.

.
|── model
|└── model-jsons
|├── NSCLC-master.json
|└── NSCLC-Myc-DDR-mutant.json

These can be analyzed using the open-source web tool, BioModelAnalyzer (BMA, available at https://biomodelanalyzer.org).

This powerful web-based platform provides a graphical user interface allows for intuitive exploration and simulation of complex biological models.

Running the model in the command line

For direct interaction and precise control over model analysis, BioModelAnalyzer offers associated command-line tools, primarily BioCheckConsole. This is available at github.com/hallba/BioModelAnalyzer

This utility provides access to a wide range of analysis algorithms.

Its backend is engineered in F#, leveraging the capabilities of the SMT (Satisfiability Modulo Theories) solver Z3 for logical reasoning.

Example Raw BMA Query

A typical BMA command-line query follows this structure for executing a proof with specific knock-out conditions:

C:\BioCheckConsole.exe -model $infile -engine VMCAI -prove $tdir\MutEGF__1__Wnt1__2.json -ko 30 1 -ko 242 2

In this example:

  • C:\BioCheckConsole.exe specifies the full path to the BioCheckConsole executable. Please ensure this path is updated to match your local installation.
  • -model $infile points to your biological model file in JSON format. $infile is a placeholder for the actual path to your model (e.g., C:\YourProject\model\model-jsons\NSCLC-master.json).
  • -engine VMCAI selects the VMCAI analysis engine, one of the algorithms powered by the Z3 solver.
  • -prove $tdir\MutEGF__1__Wnt1__2.json indicates the JSON file that defines the specific property or behavior the model is being tested against. $tdir is a placeholder for the directory containing these proof files.
  • -ko 30 1 applies a "knock-out" operation, setting node (or species) 30 in the model to a value of 1.
  • -ko 242 2 applies another knock-out, setting node 242 to a value of 2.

To execute this query, you would open a command prompt on a Windows machine, replace the placeholder variables ($infile and $tdir) with your actual file paths, and then run the command.

Running the model using NANSEN (Windows only)

To screen therapies using the model, we recommend using the R package NANSEN to automate the processes outlined above. This can be used to perform screens and also to test that the model satisfies the specification. NANSEN is hosted at github.com/jfisher-lab/NANSEN.

To install NANSEN, run the following command:

remotes::install_github("jfisher-lab/nansen")

To use the library, run the following command:

library(NANSEN)

Example scripts to check the model can fit the specification can be executed using the R script

source("scripts/run_models/specification_check.r")

... and to perform a combination screen on the model using the R script

source("scripts/run_models/combination_screen.r")

Please cite as

@article{clarke2026virtualtumors,
  title   = {Virtual Tumors Enable Prediction of Personalized Therapeutic Combinations for Non-Small Cell Lung Cancer},
  author  = {Clarke, Matthew A. and Barker, Charlie George and Nicholls, Ashley and Handler, Matt P. and Pickard, Lisa and Shah, Amna Z. and Walter, David and De Braekeleer, Etienne and Banerji, Udai and Choudhary, Jyoti S. and Ahmad, Saif S. and McDermott, Ultan and Hannon, Gregory J. and Fisher, Jasmin},
  journal = {Cancer Research},
  year    = {2026},
  doi     = {10.1158/0008-5472.CAN-25-2476}
}

About

Code for the paper Clarke, Barker & Nicholls et al., 2026 (Can Res)

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages