JSTA: joint cell segmentation and cell type annotation for spatial transcriptomics
February 28, 2022 · View on GitHub
Download and Install:
In terminal:
git clone https://github.com/wollmanlab/JSTA.git
Install python dependencies:
With pip:
pip install -r CoreFunctions/requirements.txt
With conda:
conda env create -f CoreFunctions/environment.yml
or
conda install --file CoreFunctions/requirements.txt
Compile c files, and add current path to functions:
./install.sh
Tutorials:
tutorials/SimulatingData.ipynb
Simulate spatial transcriptomics data from a reference dataset:
Files needed:
- scRNAseq Reference:
- cells x genes matrix
- Reference celltypes:
- cell type vector
tutorials/RunningJSTA.ipynb
Run our quick implementation of density estimation, and segmentation with JSTA!
Files needed:
- mRNA spots:
- spots x 4 matrix
- Columns: gene name, x, y, z
- Rows: Each mRNA spot
- nuclei:
- pixels x 4 matrix;
- Columns: cell id, x, y, z
- Rows: Each pixel of nucleus
- scRNAseq Reference:
- cells x genes matrix
- Reference celltypes:
- cell type vector
tutorials/FindSpatialDEGs.ipynb
Run our approach for finding spDEGs in your spatial data.