bioRxiv Science⌕ Search

bioRxiv · 10.1101/2022.04.01.486754

An open-source, ready-to-use and validated ripple detector plugin for the Open Ephys GUI

Abstract

Sharp wave-ripples (SWRs, 100-250 Hz) are oscillatory events extracellularly recorded in the CA1 subfield of the hippocampus during sleep and quiet wakefulness. SWRs are thought to be involved in the dialogue between the hippocampus and cortical regions to promote memory consolidation during sleep and memory-guided decision making. Many studies employed closed-loop strategies to either detect and abolish SWRs within the hippocampus or manipulate other relevant areas upon ripple detection. However, the code and schematics necessary to replicate the detection system are not always available, which hinders the reproducibility of experiments among different research groups. Furthermore, information about performance is not usually reported. Here, we present the development and validation of an open-source, real-time ripple detection plugin integrated into the Open Ephys GUI. It contains a built-in movement detector based on accelerometer or electromyogram data that prevents false ripple events (due to chewing, grooming, or moving, for instance) from triggering the stimulation/manipulation device. To determine the accuracy of the detection algorithm, we first carried out simulations in Matlab with synthetic and real ripple recordings. Using a specific combination of detection parameters (amplitude threshold of 5 standard deviations above the mean, time threshold of 10 ms, and RMS block size of 7 samples), we obtained a 97% true positive rate and 2.48 false positives per minute on the real data. Next, an Open Ephys plugin based on the same detection algorithm was developed, and a closed-loop system was set up to evaluate the round trip (ripple onset-to-stimulation) latency over synthetic data. The lowest latency obtained was 34.5 {+/-} 0.5 ms. Besides contributing to increased reproducibility, we anticipate that the developed ripple detector plugin will be helpful for many closed-loop applications in the field of systems neuroscience.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Sousa, B. M. d., de Oliveira, E. F., Beraldo, I. J. d. S., Polanczyk, R. S., Leite, J. P., Lopes Aguiar, C.. 2022-04-05. An open-source, ready-to-use and validated ripple detector plugin for the Open Ephys GUI. https://doi.org/10.1101/2022.04.01.486754

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

The Unreasonable Effectiveness of Cell Types in Describing Neuronal Physiological Features

Single-cell RNA sequencing (scRNA-seq) captures detailed gene expression profiles at scale, while patch-clamp recordings measure intrinsic neuronal electrophysiological properties. Modeling the relations between these two modalities remains a challenge. Here, we compare how well electrophysiological features can be predicted by traditional transcriptomic cell type classification, representations derived from a foundational model (scGPT) pretrained on large-scale scRNA-seq datasets, ion channel-coding genes, and highly variable genes. Using paired transcriptomic and electrophysiological patch-sequencing data from 495 human neurons from neurosurgical tissue, we find that cluster-level cell type representations consistently outperform highly variable gene selection, ion channel gene selection, and context-enriched scGPT embeddings. Notably, performance varies across model architectures and initializations, and the best results are obtained by combining the outputs of separate cell type and scGPT-based models. Together, these findings suggest that traditional discrete cellular classification is highly effective in predicting physiological features. For maximum performance it can be complemented by pretrained transformer models.

neuroscience↗

A nonlinear inhibition pathway underlying cortical responses to tuned holographic optogenetic perturbations

Optogenetics enables causal manipulation of cortical activity. Perturbation responses can be counterintuitive due to network interactions, making theory essential for predicting them. Existing approaches often rely on linear approximations, which fail for many biologically relevant perturbations. Here we develop a nonlinear theory of responses to holographic perturbations in cell-type-specific recurrent networks with structured connectivity. We fit a nonlinear model to mouse V1 data, which shows cotuned-ensemble suppression: perturbing spatially clustered neurons with similar preferred orientations yields markedly stronger short-range suppression than perturbing untuned ensembles. We show that cotuned-ensemble suppression arises from a feature-tuned, nonlinear inhibition pathway implicating somatostatin-positive (SST) interneurons. The theory predicts that cotuned ensembles suppress parvalbumin-positive (PV) neurons but facilitate SST neurons, and links the degree of cotuned-ensemble suppression or facilitation to the variance of the SST response. This framework identifies mechanisms by which nonlinear inhibition sculpts cortical dynamics and establishes a predictive basis for targeted optogenetic interventions.

neuroscience↗

Proteomic signatures of APOE ε4 across human tissues and cell types in Alzheimers disease

The apolipoprotein E {varepsilon}4 (APOE {varepsilon}4) allele is the strongest genetic risk factor for late-onset Alzheimers disease (AD). However, the underlying molecular mechanisms remain unclear. This study included 1691 participants from the Religious Orders Study and Rush Memory and Aging Project (ROSMAP), 1226 participants from the Accelerating Medicines Partnership - Alzheimers Disease (AMP-AD) Diverse Cohorts Study, and 735 participants from the Alzheimers Disease Neuroimaging Initiative (ADNI). To characterise APOE {varepsilon}4 molecular effects, we analysed proteomic data from plasma, cerebrospinal fluid (CSF), and induced pluripotent stem cell (iPSC)-derived astrocytes and neurons, as well as transcriptomic and proteomic data from multiple brain regions. The association of APOE {varepsilon}4 with AD neuropathology was also examined. APOE {varepsilon}4 carriers shared a plasma proteomic signature enriched for immune processes, irrespective of AD diagnosis. A machine learning classifier trained on this signature discriminated APOE {varepsilon}4 carriers from non-carriers in an independent cohort using CSF proteomics. APOE {varepsilon}4 carriage was associated with higher Braak stages and Consortium to Establish a Registry for Alzheimers Disease (CERAD) score. However, only limited APOE {varepsilon}4-associated transcriptomic and proteomic changes were observed in bulk brain tissue, with poor cross-layer concordance. Proteomic analyses of iPSC-derived astrocytes and neurons further revealed cell-type-specific APOE {varepsilon}4-associated changes. APOE {varepsilon}4 is associated with a consistent proteomic signature across plasma and CSF. Its molecular effects in the brain differ across cell types, brain regions and molecular layers. These findings support the need for cell-type-resolved multi-omic studies to elucidate how APOE {varepsilon}4 confers AD risk.

neuroscience↗