https://github.com/bodenmillergroup/spheroidpublication

This contains the workflows to reproduce all analyses from the Spheroid paper.

https://github.com/bodenmillergroup/spheroidpublication

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

This contains the workflows to reproduce all analyses from the Spheroid paper.

Basic Info
  • Host: GitHub
  • Owner: BodenmillerGroup
  • License: mit
  • Language: Makefile
  • Default Branch: master
  • Size: 10.9 MB
Statistics
  • Stars: 2
  • Watchers: 3
  • Forks: 0
  • Open Issues: 1
  • Releases: 2
Created about 6 years ago · Last pushed over 5 years ago
Metadata Files
Readme License

README.md

Snakemake

This is the companion repository for the Spheroid Publication

It allows to run all analysis steps from raw data until the paper figures for the paper:
"A quantitative analysis of the interplay of environment, neighborhood and cell state in 3D spheroids"
https://doi.org/10.1101/2020.07.24.219659

After running this, you can find plots used for figures in the results/figures directories of the subworkflows.
The run Jupyter analysis notebooks can be found in the logs/ directories.

Data availability

All raw data can be found on Zenodo: https://zenodo.org/record/4055781

The resulting processed datasets resulting from running this processing pipeline can be found on Zenodo:

  • phys_analysis:

    • https://zenodo.org/record/4271910
    • Interactive data exploration on Google Colab: https://colab.research.google.com/github/BodenmillerGroup/SpheroidPublication/blob/physanalysis/workflow/notebooks/99browseexportdata.py.ipynb
  • oexp_analysis:

    • https://zenodo.org/record/4288515
    • Interactive data exploration on Google Colab: https://colab.research.google.com/github/BodenmillerGroup/SpheroidPublication/blob/oexpanalysis/workflow/notebooks/99browseexportdata.py.ipynb

Installation:

This workflow requires snakemake (tested: v5.18 or v5.31, https://snakemake.readthedocs.io/en/stable/gettingstarted/installation.html, > 5.18) as well as singularity (tested: v3.2.1, https://sylabs.io/guides/3.6/user-guide/quickstart.html#quick-installation-steps) to be installed.

It has only been tested on Ubuntu 18.04.

While the workflow can be run locally (>=8 cores, >32 RAM required), it is best run in a cluster environment (e.g. SLURM, https://github.com/Snakemake-Profiles/slurm).

To retrieve the repository use:

git clone --recurse-submodules https://github.com/BodenmillerGroup/SpheroidPublication.git

A compressed version of the cloned repository also containing the Singularity containers will be also uploaded to Zenodo (DOI: 10.5281/zenodo.4055781). Use this repository in case that the Docker container are not longer available from DockerHub.

Due to technical problems with snakemake subworkflows, the subworkflows need to be run independently in the order described bellow, as otherwise the workflows will be run only single-threaded: https://github.com/snakemake/snakemake/issues/208

To run all subworkflows on a local machine you can use:

make run_all

to run them all in the correct order.

If you use a slurm cluster, it is required to setup a profile for snakemake (https://github.com/Snakemake-Profiles/slurm).

Then one could run all of them as make run_all_slurm.

If you want to run subworkflows manually: - Change into it's main directory: e.g. cd subworkflows/bf_preproc - Run snakemake with conda and singularity support: snakemake --use-conda --use-singularity

Overview

The currently the workflow is split up into 5 different Snakemake workflows, represented by 5 different branches of this repository: 1) bfpreproc: Processing of brightfield images of spheres to quantify the sphere diameters as well as to identify misformed spheres. Result: - 'results/hqspheres.csv': A table of morphometric measurements (area, diameter...) of spheres that were identified to not being missformed. - 'results/plateoverviews': Brightfield overview images of all the plates analyzed - 'results/welloverviews': 1 .png image per well

2) phys_preproc: Preprocessing of the 4 cell line IMC dataset. Segmentation of spheres and cells in IMC data as well as alignment of IMC images with fluorescent slidescan images. Finally features on the cell level are measured. Result: - 'results/cpout': A cellprofiler output folder containing measurements: These measurments are of individual spheres cropped out of the original IMC images. - Object related measurements: - cell.csv: Cell mask measurements - cyto.csv: Cytoplasm mask measurements - nuclei.csv: Nuclei mask measurements - nucleiexp.csv: Slightly expanded nuclei mask measurements - Image.csv: Measurements/metadata related to - Experiment.csv: Cellprofiler measurement run related metadata - Folder imgs/: All measured images as tiff stacks - Folder masks/: All measured object masks as greyscale tiffs

3) oexppreproc: Preprocessing of the overexpression dataset. Same output as physpreproc.

4) physanalysis: Analysis of the data preprocessed via physpreproc

5) oexpanalysis: Analysis of the data preprocessed via oexppreproc

Owner

  • Name: BodenmillerGroup
  • Login: BodenmillerGroup
  • Kind: organization

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 78
  • Total Committers: 1
  • Avg Commits per committer: 78.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
votti m****i@g****m 78

Issues and Pull Requests

Last synced: about 1 year ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: 5 months
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • votti (2)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels