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

  • 7,985
    views
  • 1,033
    downloads
  • 48
    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. Neuroscience
    Gáspár Oláh, Rajmund Lákovics ... Gábor Tamás
    Research Article

    Human-specific cognitive abilities depend on information processing in the cerebral cortex, where the neurons are significantly larger and their processes longer and sparser compared to rodents. We found that, in synaptically connected layer 2/3 pyramidal cells (L2/3 PCs), the delay in signal propagation from soma to soma is similar in humans and rodents. To compensate for the longer processes of neurons, membrane potential changes in human axons and/or dendrites must propagate faster. Axonal and dendritic recordings show that the propagation speed of action potentials (APs) is similar in human and rat axons, but the forward propagation of excitatory postsynaptic potentials (EPSPs) and the backward propagation of APs are 26 and 47% faster in human dendrites, respectively. Experimentally-based detailed biophysical models have shown that the key factor responsible for the accelerated EPSP propagation in human cortical dendrites is the large conductance load imposed at the soma by the large basal dendritic tree. Additionally, larger dendritic diameters and differences in cable and ion channel properties in humans contribute to enhanced signal propagation. Our integrative experimental and modeling study provides new insights into the scaling rules that help maintain information processing speed albeit the large and sparse neurons in the human cortex.

    1. Neuroscience
    Jacob A Miller
    Insight

    When navigating environments with changing rules, human brain circuits flexibly adapt how and where we retain information to help us achieve our immediate goals.