/useqfish_analysis

Primary LanguageJupyter NotebookGNU General Public License v3.0GPL-3.0


USeqFISH Analysis

Ultrasensitive, sequential flourescence in situ hybridization (USeqFISH) is a highly sensitive spatial transcriptomics method for profiling endogenous and virally-delivered genes in intact mouse and non-human primates.

This is data analysis pipeline for images generated in USeqFISH.
Explore the docs »

· Report Bug · Request Feature

Built With

(back to top)

Getting Started

To get a local copy up and running follow these simple example steps.

Installation

  1. Clone the repo
    git clone https://github.com/minjeejang/useqfish_analysis.git
  2. Install Requirements
    pip install --upgrade pip
    pip install -r requirements.txt 

Usage

To run the pipeline, you'll need multiple round images in .tif format.

1. Set the parameters.

Open params.py and set the parameters for your project.

  • nC: Number of channels each round has
  • nR: Number of total rounds
  • roundRef: Which round contains the cell reference
  • cellCh: channel containing cell reference
  • image_size: image size in pixels
  • sigma: estimate size of spots to detect
  • color_shifts: channel shifts for each channel, provided by the equipment

2. Run the pipeline

  python get_expression_matrix.py [path]

[path] is the path to the directory containting your images. All .tif images in this path will be analyzed. Note: script will take a while (30 minutes+) to run, depending on image size and machine specifications.

3. Examine results

Once the run is finished, there will be a results.xlsx file in your image path. This contains a the expression by cell ID.

(back to top)