NANTYBUSHER/CRC_pathway_analysis: First release – analysis code for manuscript

Read full text Summarise with VIRAT
Authors: NANTYBUSHER
Cited by: 0

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

Pathway mutation burden in colorectal cancer – code repository This repository contains the custom code used for the analyses in the manuscript: Pathway-level mutation burden and its association with clinicopathological features in colorectal cancer Overview The analysis consists of three main Python scripts: clinic_analysis.py – processes the clinical cohort data (119 patients, 40/1021‑gene panels) and performs the core pathway‑level mutation burden analyses (conclusions 1–5, Tables 1–4, and several main figures). single_cell_analysis.py – analyses the public single‑cell dataset GSE132465 (macrophage extraction, MET pathway activity, MIF correlations, patient‑level ligand associations) and generates the corresponding single‑cell figures (Figure1_MIF_macrophage_phenotypes.png, Figure2_patient_MIF_MET.png, Figure3_receptor_expression.png, Figure4_ligand_comparison.png). figures_and_tables_generate.py – assembles the final main figure panels (conclusion1–5, risk_model_roc, threshold_analysis, conclusion2_fdr), produces the supplementary figures (co‑mutation heatmap, correlation matrix), and exports all tables as Excel files. Requirements All scripts require Python 3.8 or later. Install the required packages using: pip install -r requirements.txt The requirements.txt file lists all dependencies with recommended versions. Data Clinical data The analysis requires an Excel file placed at data/data.xlsx. The file must contain a sheet named Sheet1 with patient‑level clinical variables and gene mutation columns. The expected column structure is described in data/README.md. Due to patient privacy restrictions, the original data cannot be shared. Single‑cell data single_cell_analysis.py expects the preprocessed single‑cell AnnData file data/adata_processed.h5ad (derived from GSE132465). Instructions for generating this file from the raw GEO data are provided in the script's comments and in a separate preprocessing script (available upon request). Running the analysis Execute the scripts in the following order: clinic_analysis.py python clinic_analysis.py This generates the main clinical results and saves intermediate files. single_cell_analysis.py python single_cell_analysis.py This performs the single‑cell validation and saves the corresponding figures. figures_and_tables_generate.py python figures_and_tables_generate.py This combines the outputs from the first two scripts, creates the final figures and supplementary figures, and exports all tables. All outputs are saved into the following directories (created automatically): figures/ – main figures (Fig. 1A–K) supp_figures/ – supplementary figures (Supplementary Fig. 1–2) tables/ – all tables in Excel format (Table 1–4, Supplementary Table S1–S4) Full Changelog: https://github.com/NANTYBUSHER/CRC_pathway_analysis/commits/v1.0.0

Fields of Study & Subjects

Cancer Genomics and Diagnostics Genetic factors in colorectal cancer Colorectal Cancer Treatments and Studies

Publication details

Journal / source
Zenodo (CERN European Organization for Nuclear Research)
Publication date
25 March 2026
Language
EN