No project description provided
Project description
SCIP use case workflows
This repository contains Snakemake workflows to reproduce use cases presented in A scalable, reproducible and open-source pipeline for morphologically profiling image cytometry data.
It is built using two frameworks:
- nbdev
- Snakemake
nbdev is a framework for developing reusable code in notebooks. Functions are defined and tested in notebooks, and exported to a package. This package can be installed and reused in other notebooks or scripts.
Snakemake is a workflow framework to create reproducible data analyses. Workflows are defined via a human-readable language, and can be easily executed in various environments.
Installation
To execute the workflows in this repository you need to install Snakemake.
The workflows have been tested with Python 3.9.13.
Usage
Reproducing the use cases is done by executing SCIP to profile the images, and Snakemake workflows to generate downstream analysis results.
The required configurations to run SCIP are in the scip_configs directory.
The following commands expect Snakemake to be available. Snakemake can be executed using conda environments or a pre-existing environment containing all required packages.
To reproduce a use-case, open a terminal where you cloned this repository and execute:
snakemake --configfile config/use_case.yaml --directory root_dir use_case
where
use_case
is one ofWBC
,CD7
orBBBC021
,root_dir
points to where you downloaded the use case files
Make sure to update the config file to your situation; mainly setting the parts
to the amount of output partitions SCIP generated.
This expects the environment to contain all required dependencies. Add --use-conda
to let
Snakemake create a conda environment containing all requirements.
Use case: WBC
Data and features (for SCIP and IDEAS) can be downloaded at the Bioimage Archive
Use case: CD7
Data and SCIP features can be downloaded at the Bioimage Archive
Use case: BBBC021
Data can be downloaded at the Broad Bioimage Benchmark Collection. Features can be downloaded from Zenodo. You can download metadata BBBC021_v1_image.csv and BBBC021_v1_moa.csv from the supplementary materials "Data S2" in [1].
[1] Ljosa, V., Caie, P. D., Ter Horst, R., Sokolnicki, K. L., Jenkins, E. L., Daya, S., ... & Carpenter, A. E. (2013). Comparison of methods for image-based profiling of cellular morphological responses to small-molecule treatment. Journal of biomolecular screening, 18(10), 1321-1329.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scip_workflows-0.1.1.tar.gz
.
File metadata
- Download URL: scip_workflows-0.1.1.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d659e7b18865d943f3bc5e39fef7196b1b49180d621ed3634c35c8cd7dccaadf |
|
MD5 | e0bfb90df6f7e0b6c870cec498aa3669 |
|
BLAKE2b-256 | e4fc3e743d09723837f10fafe648961f8f69015c730fc0a8ea4cb651d5efca4f |
File details
Details for the file scip_workflows-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: scip_workflows-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6c656dea0edc74ef5c6f445391fb920511e83ba729354514e8ef3bbe3a3f9bd |
|
MD5 | e2f1808df86fb3fa6f756d3d46ad936c |
|
BLAKE2b-256 | 35ec5ee4bf65d1451d81b3f61b3defd65c5106753cd98f8dd9886ec8d7cef36f |