Minian an open-source miniscope analysis pipeline

  1. Zhe Dong
  2. William Mau
  3. Yu Feng
  4. Zachary T Pennington
  5. Lingxuan Chen
  6. Yosif Zaki
  7. Kanaka Rajan
  8. Tristan Shuman
  9. Daniel Aharoni  Is a corresponding author
  10. Denise J Cai  Is a corresponding author
  1. Icahn School of Medicine at Mount Sinai, United States
  2. University of California, Los Angeles, United States

Abstract

Miniature microscopes have gained considerable traction for in vivo calcium imaging in freely behaving animals. However, extracting calcium signals from raw videos is a computationally complex problem and remains a bottleneck for many researchers utilizing single-photon in vivo calcium imaging. Despite the existence of many powerful analysis packages designed to detect and extract calcium dynamics, most have either key parameters that are hard-coded or insufficient step-by-step guidance and validations to help the users choose the best parameters. This makes it difficult to know whether the output is reliable and meets the assumptions necessary for proper analysis. Moreover, large memory demand is often a constraint for setting up these pipelines since it limits the choice of hardware to specialized computers. Given these difficulties, there is a need for a low memory demand, user-friendly tool offering interactive visualizations of how altering parameters at each step of the analysis affects data output. Our open-source analysis pipeline, Minian (Miniscope Analysis), facilitates the transparency and accessibility of single-photon calcium imaging analysis, permitting users with little computational experience to extract the location of cells and their corresponding calcium traces and deconvolved neural activities. Minian contains interactive visualization tools for every step of the analysis, as well as detailed documentation and tips on parameter exploration. Furthermore, Minian has relatively small memory demands and can be run on a laptop, making it available to labs that do not have access to specialized computational hardware. Minian has been validated to reliably and robustly extract calcium events across different brain regions and from different cell types. In practice, Minian provides an open-source calcium imaging analysis pipeline with user-friendly interactive visualizations to explore parameters and validate results.

Data availability

github repo: https://github.com/denisecailab/minian

Article and author information

Author details

  1. Zhe Dong

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
  2. William Mau

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-3233-3243
  3. Yu Feng

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
  4. Zachary T Pennington

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
  5. Lingxuan Chen

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
  6. Yosif Zaki

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
  7. Kanaka Rajan

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
  8. Tristan Shuman

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0003-2310-6142
  9. Daniel Aharoni

    Department of Neurology, University of California, Los Angeles, Los Angeles, United States
    For correspondence
    dbaharoni@gmail.com
    Competing interests
    No competing interests declared.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0003-4931-8514
  10. Denise J Cai

    Nash Family Department of Neuroscience, Icahn School of Medicine at Mount Sinai, New York, United States
    For correspondence
    denisecai@gmail.com
    Competing interests
    Denise J Cai, Reviewing editor, eLife.
    ORCID icon "This ORCID iD identifies the author of this article:" 0000-0002-7729-0523

Funding

NIMH (DP2MH122399)

  • Denise J Cai

NIMH (R01MH120162)

  • Denise J Cai

The funders had no role in study design, data collection and interpretation, or the decision to submit the work for publication.

Ethics

Animal experimentation: All experiments were performed in accordance with relevant guidelines and regulations approved by the Institutional Animal Care and Use Committee of Icahn School of Medicine at Mount Sinai (Reference #: IACUC-2017-0361, Protocol #: 17-1994).

Copyright

© 2022, Dong et al.

This article is distributed under the terms of the Creative Commons Attribution License permitting unrestricted use and redistribution provided that the original author and source are credited.

Metrics

  • 6,366
    views
  • 905
    downloads
  • 22
    citations

Views, downloads and citations are aggregated across all versions of this paper published by eLife.

Download links

A two-part list of links to download the article, or parts of the article, in various formats.

Downloads (link to download the article as PDF)

Open citations (links to open the citations from this article in various online reference manager services)

Cite this article (links to download the citations from this article in formats compatible with various reference manager tools)

  1. Zhe Dong
  2. William Mau
  3. Yu Feng
  4. Zachary T Pennington
  5. Lingxuan Chen
  6. Yosif Zaki
  7. Kanaka Rajan
  8. Tristan Shuman
  9. Daniel Aharoni
  10. Denise J Cai
(2022)
Minian an open-source miniscope analysis pipeline
eLife 11:e70661.
https://doi.org/10.7554/eLife.70661

Share this article

https://doi.org/10.7554/eLife.70661

Further reading

    1. Cell Biology
    2. Neuroscience
    Victor C Wong, Patrick R Houlihan ... Erin K O'Shea
    Research Article

    AMPA-type receptors (AMPARs) are rapidly inserted into synapses undergoing plasticity to increase synaptic transmission, but it is not fully understood if and how AMPAR-containing vesicles are selectively trafficked to these synapses. Here, we developed a strategy to label AMPAR GluA1 subunits expressed from their endogenous loci in cultured rat hippocampal neurons and characterized the motion of GluA1-containing vesicles using single-particle tracking and mathematical modeling. We find that GluA1-containing vesicles are confined and concentrated near sites of stimulation-induced structural plasticity. We show that confinement is mediated by actin polymerization, which hinders the active transport of GluA1-containing vesicles along the length of the dendritic shaft by modulating the rheological properties of the cytoplasm. Actin polymerization also facilitates myosin-mediated transport of GluA1-containing vesicles to exocytic sites. We conclude that neurons utilize F-actin to increase vesicular GluA1 reservoirs and promote exocytosis proximal to the sites of synaptic activity.

    1. Neuroscience
    Proloy Das, Mingjian He, Patrick L Purdon
    Tools and Resources

    Modern neurophysiological recordings are performed using multichannel sensor arrays that are able to record activity in an increasingly high number of channels numbering in the 100s to 1000s. Often, underlying lower-dimensional patterns of activity are responsible for the observed dynamics, but these representations are difficult to reliably identify using existing methods that attempt to summarize multivariate relationships in a post hoc manner from univariate analyses or using current blind source separation methods. While such methods can reveal appealing patterns of activity, determining the number of components to include, assessing their statistical significance, and interpreting them requires extensive manual intervention and subjective judgment in practice. These difficulties with component selection and interpretation occur in large part because these methods lack a generative model for the underlying spatio-temporal dynamics. Here, we describe a novel component analysis method anchored by a generative model where each source is described by a bio-physically inspired state-space representation. The parameters governing this representation readily capture the oscillatory temporal dynamics of the components, so we refer to it as oscillation component analysis. These parameters – the oscillatory properties, the component mixing weights at the sensors, and the number of oscillations – all are inferred in a data-driven fashion within a Bayesian framework employing an instance of the expectation maximization algorithm. We analyze high-dimensional electroencephalography and magnetoencephalography recordings from human studies to illustrate the potential utility of this method for neuroscience data.