Skip to content

Commit

Permalink
updates for paper revision
Browse files Browse the repository at this point in the history
  • Loading branch information
karlkumbier committed Apr 29, 2024
1 parent 7b29235 commit cc0e95b
Show file tree
Hide file tree
Showing 39 changed files with 3,593 additions and 970 deletions.
46 changes: 36 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,41 @@
# FUS-ALS Molecular ALS Phenotype Scores
This directory contains scripts used to process and analyze screens from the ALS
patient-derived fibroblast study. Analyses for each screen are organized within
individual directories corresponding to Figures 2-4 of the manuscript
Figure_Scores=Fig. 2, Figure_ASO=Fig. 3, Figure_Transcriptomics=Fig. 4,
Figure_Search=Extended data Figs. E1-E3.
patient-derived fibroblast study. We provide a Dockerfile to install all
dependencies for running analyses reported in Kumbier et al. 2024.

Data required to run the scripts can be downloaded from Zenodo:
https://zenodo.org/record/7247995. To run scripts, Initialize `.Renviron`
variables:
```
docker build -t als/als .
docker run -it --rm -v <path to project_als directory>:/ALS als/als
```

- `ALS_PAPER`=`<path_to_this_directory>`
The core analysis scripts used for each screen / analysis include:

- `ALS_DATA`=`<path_to_data_profiles_directory>`
## General scripts
- `preprocessing`: directory containing scripts for processing raw image-derived
features into the selected set of ALS-relevant eigenfeatures. Proecsses image
features are available in the `data_profiles` directory of the zenodo
repository. Raw image features and images are available upon request.

The `data` directory on Zenodo must be placed in this directory.
- `utilities.R`: script containg functions for fitting models along with helper
functions for data processing and visualization.

- `color_palette.R`: sets color palette used in figures.

## Analysis specific scripts
Scripts used to generate figures for the paper have been copied to
`paper_figures` and are for the most part organized by figure.

- `Figure_Search`: analyses of imaging marker set search—reported in
supplemental section.

- `Figure_Scores`: analyses for image-based scores (i-MAP scores).

- `Figure_Transcriptomics`: analyses for transcriptomic-based scores (t-MAP
scores).

- `Figure_ASO`: analyses from ASO screen. *Note:* some of the sporadic figures
are generated in `Figure_Transcriptomics`

## Data
Data for image-based cell profiles are contained in `data_profiles`, organized
by screen. All other data can be found in `data`.
33 changes: 33 additions & 0 deletions paper_figures/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
## Base docker image
FROM ubuntu:latest
ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && \
apt-get install -y r-base \
libssl-dev \
libcurl4-gnutls-dev \
libxml2-dev \
libfontconfig1-dev \
libharfbuzz-dev \
libfribidi-dev \
libfreetype6-dev \
libpng-dev \
libtiff5-dev \
libjpeg-dev \
libgit2-dev \
git \
curl \
python3-venv

RUN apt install -y cmake
## TODO: install python for keras

## Initialize Renviron varaibles
RUN touch ~/.Renviron
RUN echo "ALS_PAPER=/ALS/" >> ~/.Renviron
RUN echo "ALS_DATA=/ALS/data_profiles/" >> ~/.Renviron

## run the script
COPY ./setup.R /setup.R
RUN Rscript /setup.R

Binary file modified paper_figures/Figure_ASO/.DS_Store
Binary file not shown.
Loading

0 comments on commit cc0e95b

Please sign in to comment.