This repository contains supplementary code for the Parsons et al. manuscript:
Genomic mechanisms of resistance to tyrosine kinase inhibitors in HER2 amplified breast cancer. Parsons et al. 2024 (in submission)
The Jupyter and RMarkdown notebooks in this repository generate the figures shown in the manuscript.
For questions about the code in this repository, please reach out to David Merrell ([email protected]).
$ git clone [email protected]:getzlab/parsons_her2_tki_manuscript.git
For the remainder of this document, we assume you've cd
'd into this directory:
$ cd parsons_her2_tki_manuscript/
Python dependencies. We recommend installing Miniconda and creating a conda environment using the config.yaml
in this directory.
$ conda env create -f config.yaml
R dependencies. See R_dependencies.txt
for a list of R packages and versions used in the RMarkdown notebooks.
We recommend running the RMarkdown notebooks in RStudio.
Data for this repository is stored on Zenodo:
https://doi.org/10.5281/zenodo.11053092
Download the tarball parsons_her2_tki_data.tar.gz
and unpack it in this directory:
$ tar -xvzf parsons_her2_tki_data.tar.gz
At this point, there should be a subdirectory called data
containing several files:
$ ls data/
H_matrix.tsv
ONC_ID_to_Manuscript_ID_mapping_paired.txt
[...]
You are now ready to run the notebooks and reproduce the figures.
Here we list the figures and the notebooks that generate them.
See this information about running Jupyter notebooks.
See this information about running RMarkdown notebooks.
- 1A: This panel was generated using Microsoft PowerPoint and images downloaded from BioRender.com.
- 1B: comuts.ipynb
- 1C: pathways.Rmd
- 2A: comuts.ipynb
- 2B-D: copy_number.Rmd
- 3A: swimmer.ipynb
- 3B-G: These panels were generated using Adobe Illustrator. The source data were the outputs of PhylogicNDT, as well as sample and treatment data for the selected participants.
- 4A: comuts_brain_mets.ipynb
- 4B: This panel was generated using PathwayMapper1.
- 3A-B: comuts.ipynb
See LICENSE.txt for details.
Footnotes
-
Istemi Bahceci, Ugur Dogrusoz, Konnor C La, Özgün Babur, Jianjiong Gao, Nikolaus Schultz, PathwayMapper: a collaborative visual web editor for cancer pathways and genomic data, Bioinformatics, Volume 33, Issue 14, July 2017, Pages 2238–2240, https://doi.org/10.1093/bioinformatics/btx149 ↩