This project contains a series of matlab functions for the analysis of MERFISH as described in the publication Spatially resolved, highly multiplexed RNA profiling in single cells as well as the publication High-throughput single-cell gene-expression profiling with multiplexed error-robust fluorescence in situ hybridization.
Example data and analysis results can be downloaded from the MERFISH page.
This software is provided for use to the academic community free of charge.
Details concerning the licensing of this software for commercial purposes can be found in the license.pdf file.
This software requires the following software packages.
- matlab-storm: A set of matlab functions for the analysis and visualization of storm-data.
- storm-analysis: A collection of STORM analysis functions, primarily in Python. Note that the software in this repository uses an older, archived version of this code. For reference, the newest storm-analysis is here.
- export-fig: A figure export package for Matlab.
- Matlab.
- Python 2.7 (Only for storm-analysis)
- Clone the matlab-storm and storm-analysis projects and install.
- Create or modify a matlab startup script to define all necessary paths. Instructions for matlab-storm can be found here. Additional paths are required for MERFISH_analysis. An example script is also provided: startup\merfish_startup
- Install the necessary dependencies for export-fig. Instructions can be found here.
32 GB to 64 GB of RAM are recommended for the construction of target regions using the new pipeline (illustrated in the library_design_example script).
Several example scripts are provided to illustrate how to perform a series of basic MERFISH-related tasks. These scripts can be found in example_scripts.
- analysis_script: This script illustrates the analysis of MERFISH data. It requires example data. It produces a series of analyzed data files that contain properties of the decoded barcodes.
- code_construction_script: This script illustrates the construction of different binary encoding schemes.
- library_design_example: This script illustrates the construction of a MERFISH probe library. It requires example data.
- (December 2016) A more computationally efficient pipeline for the design and construction of MERFISH probes is now included. The functions and example scripts associated with the older pipeline are still available but have been moved to folders named 'deprecated'.
- (September 2018) The MERFISH analysis pipeline has been updated to allow massively parallel computing on clusters running the SLURM scheduling system. Improved cell segmentation functionality has been added. The functions and example scripts associated with older pipelines can be found in folders named 'deprecated'.
- (August 2021) Minor updates to target region design and decoding pipelines.
Contact Xiaowei Zhuang (zhuang at chemistry.harvard.edu) or Jeffrey Moffitt (lmoffitt at mcb.harvard.edu or jeffrey.moffitt at childrens.harvard.edu).