Skip to content

Code accompanying the Parsons HER2-amplified breast cancer/TKI manuscript

License

Notifications You must be signed in to change notification settings

getzlab/parsons_her2_tki_manuscript

Repository files navigation

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]).

How to reproduce manuscript figures

Clone this repository

$ 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/

Install dependencies

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.

Download data from Zenodo

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.

Run the notebooks

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.

Figure 1

Figure 2

Figure 3

  • 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.

Figure 4

Supplementary Figure 1

Supplementary Figure 2

Supplementary Figure 3

Supplementary Figure 4

Licensing

See LICENSE.txt for details.

Footnotes

  1. 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

About

Code accompanying the Parsons HER2-amplified breast cancer/TKI manuscript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published