Induced epileptic seizures in larval zebrafish reveal a synaptic modulation associated with the post-ictal state.
The 5 matches · 1 of them tie a paragraph to a whole file, not to given lines: a weak match, whose lines are not tinted
- [1] § Materials and methods › Analysis of ExM images of glycinergic synapses on the M cells ↔ ExM GlyR Imaging/receptor_segmentation_simple_anlaysis.m, lines 49–73 · score 0.65 · bilateral filter, image stack, smoothing, MATLAB, segmentation, receptor
- [2] § Materials and methods › Analysis of ExM images of glycinergic synapses on the M cells ↔ ExM GlyR Imaging/extrapolate_and_dilate.m, lines 1–28 · score 0.64 · original image resolution, 0.59 um, 0.1625 um, dilated, dimensions, mask
- [3] § Materials and methods › Analysis of neural activity in response to startling stimuli ↔ Neural Activity Imaging/main.m, lines 48–55 · score 0.53 · EZCalcium, CaImAn, ROI, neurons, neural activity
- [4] § Materials and methods › Analysis of neural activity in response to startling stimuli ↔ Neural Activity Imaging/FindActiveInt_LF.m, the whole file · a weak match · score 0.52 · standard deviation, prominent, peaks, raw, segmented, stimulus
- [5] § Materials and methods › Analysis of ExM images of glycinergic synapses on the M cells ↔ ExM GlyR Imaging/receptor_segmentation_simple_anlaysis.m, lines 49–73 · score 0.52 · image stack, Bilateral, filtering, smooth, MATLAB, segmentation
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 113 lines · 4.4 KB · no license · 2 matches
- clc;
- clear all;
- close all;
- % work on a single dataset
- data_directory = 'data_directory'; % Provide a path to a directory containing a .tif file with a cropped image of an M cell, horizontally oriented
- original_data_fname = 'original_data_fname.tif'; % Provide the name of the .tif file from above, with stained GlyRs
- results_directory = 'results_directory'; % Provide a path to a directory that will contain receptor quantifications for all fish and M cells
- Mauthner_ID = '161224_E3_E3R'; % Provide an identified for the fish and M cell being analyzed - for subsequent pooling of results together
- save([results_directory '\' Mauthner_ID],'data_directory','original_data_fname');
- options.overwrite = true;
- mask_mat = double(tiffreadVolume([data_directory 'dilated_mask.tiff']));
- data_mat = double(tiffreadVolume([data_directory original_data_fname]));
- %% interpolation - upsample in z to get a uniform sampling rate in all dimensions
- % TO DO: make the masked_data_mat smaller, its boundaries in 3D should be tight
- % around masked pixels
- dx = 0.1625;
- dy = dx;
- dz = 0.59;
- x = (0:size(data_mat, 2)-1)'*dx;
- y = (0:size(data_mat, 1)-1)'*dy;
- z = (0:size(data_mat, 3)-1)'*dz;
- [X,Y,Z] = meshgrid (x,y,z);
- xq = x;
- yq = y;
- zq = 0:dx:z(end);
- [Xq,Yq,Zq] = meshgrid (xq,yq,zq);
- unmasked_mat = interp3(X,Y,Z,data_mat,Xq,Yq,Zq);
- % if exists
- % unmasked_mat = double(tiffreadVolume([data_directory 'interp_data_mat.tif']));
- mat = unmasked_mat.*mask_mat;
- saveastiff(uint16(mat),[data_directory 'interp_masked_data_mat.tif'],options);
- saveastiff(uint16(unmasked_mat),[data_directory 'interp_data_mat.tif'],options);
- %% bilateral filtering
- % if starting here
- % mat = double(tiffreadVolume([data_directory 'interp_masked_data_mat.tif']));
- max_mat = max(mat(:));
- mat_norm = mat./max_mat; % normalization with maximal M cell value
- % using a 3D bilateral filter on the image stack, value of smoothing was
- % chosen as a compromize between the minimum std value of the data and the
- % value that was computed based on MATLAB suggestions (see below)
- filt_img = unmasked_mat./max_mat; % normalizing by the maximal value within the M cell such that the filter parameters will be appropriate
- for itr=1:2
- for j = 1:size(mat,3)
- filt_img(:,:, j) = imbilatfilt(filt_img(:, :, j),0.001,5);
- end
- end
- filt_unmasked_img = filt_img;
- filt_img = filt_img.*mask_mat;
- options.overwrite = true;
- saveastiff(filt_img,[data_directory 'filt_inflated_masked_img.tif'],options); % saving a double as a double preserves actual values
- % saveastiff(filt_unmasked_img,[data_directory 'filt_inflated_img.tif'],options); % saving a double as a double preserves actual values
- %% using hysteresis to generate a binary mask of all synapses
- % if exists
- % filt_img = double(tiffreadVolume([data_directory 'filt_inflated_masked_img.tif']));
- undilated_Mcell_mask = double(tiffreadVolume([data_directory 'exterp_mask.tif']));
- exterp_undilated_Mcell_mask = interp3(X,Y,Z,undilated_Mcell_mask,Xq,Yq,Zq);
- signal_level = mean(filt_img((exterp_undilated_Mcell_mask==0)&(filt_img~=0)));
- signal_std = std(filt_img((exterp_undilated_Mcell_mask==0)&(filt_img~=0)));
- % LF - switching to signal mean and std based values
- t1 = signal_level+signal_std;
- t2 = signal_level+2*signal_std;
- [~,hys]=hysteresis3d(filt_img,t1,t2,26);
- saveastiff(uint16(hys),[data_directory sprintf('hysteresis3d_%.3f_%.3f.tif',t1,t2)], options);
- med_im_bw = medfilt3(hys);
- saveastiff(uint16(med_im_bw),[data_directory 'med_filt_hyst_mask.tiff'],options);
- %% final output - binary receptor and M cell masks
- % if exists and starting here
- % med_im_bw = double(tiffreadVolume([data_directory 'med_filt_hyst_mask.tiff']));
- % undilated_Mcell_mask = double(tiffreadVolume([data_directory 'exterp_mask.tif']));
- % interpolate to original resolution
- rec_mask = interp3(Xq,Yq,Zq,double(med_im_bw),X,Y,Z);
- saveastiff(uint16(rec_mask),[data_directory 'rec_mask.tiff'],options);
- dilated_Mcell_mask = interp3(Xq,Yq,Zq,double(mask_mat),X,Y,Z);
- saveastiff(uint16(dilated_Mcell_mask),[data_directory 'Mcell_mask.tiff'],options);
- Mcell_membrane_inds = find((dilated_Mcell_mask==1)&(undilated_Mcell_mask==0));
- Mcell_membrane_mask = zeros(size(undilated_Mcell_mask));
- Mcell_membrane_mask(Mcell_membrane_inds)=1;
- saveastiff(uint16(Mcell_membrane_mask),[data_directory 'Mcell_membrane_mask.tiff'],options);
receptor_segmentation_simple_anlaysis.m, no license · at the source
Overview
Abstract
Epilepsy patients suffer from spontaneous and recurrent seizures. In some cases, after seizures, a transient post-ictal state associated with cognitive deficits develops. Moreover, seizure-induced alterations in brain structure and function may give rise to neurological comorbidities associated with epilepsy. Nevertheless, the mechanisms underlying neurological comorbidities in epilepsy broadly and the post-ictal state specifically are not well understood. Here we used a well-established model of acutely induced seizures in larval zebrafish to reveal how seizures modulate a neural circuit implementing a specific sensorimotor transformation, the escape response. Using in vivo calcium imaging, we found that the responsivity of Mauthner cells, hindbrain command-like neurons that normally evoke fast and strong escape responses, to startling stimuli was reduced following seizures. Moreover, we observed a global reduction in post-seizure responsivity of neurons to the stimuli and in spontaneous neural activity. To identify structural correlates of these changes, we used expansion microscopy to characterize synaptic inputs to the Mauthner cells. Using this approach, we discovered that seizures increased the density of receptors in glycinergic inhibitory synapses onto these cells, expected to increase synaptic strength. This enhancement may compensate for the lack of GABAergic inhibition during the seizure. In addition, inducing the disassembly of glycinergic synapses by post-seizure strychnine treatment, reversed the effect of reduced neural responsivity. Put together, these data show that, at both the synaptic and circuit levels, inhibitory drive is strengthened after seizure termination, giving rise to a post-ictal state similar to that defined in humans. Consequently, sensory sensitivity is reduced, and post-seizure behavioural deficits are expected. These results reveal a potential target for pharmacological interventions that may mitigate neurological deficits in epilepsy when the seizures themselves cannot be prevented.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 5 matches between paragraphs and lines of code.
OSF sd5jy
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
24 files
- ExM GlyR Imaging/
extract_quantifications. , MATLAB, 129 linesm - ExM GlyR Imaging/
extrapolate_and_dilate.m , MATLAB, 42 lines, 1 match - ExM GlyR Imaging/
hysteresis3d.m , MATLAB, 69 lines - ExM GlyR Imaging/
receptor_segmentation_si , MATLAB, 113 lines, 2 matchesmple_anlaysis.m - ExM GlyR Imaging/
saveastiff.m , MATLAB, 318 lines - Neural Activity Imaging/
ApplyMask.m , MATLAB, 35 lines - Neural Activity Imaging/
CleanDuplicatesNeurons_L , MATLAB, 132 linesF.m - Neural Activity Imaging/
CreateDF_LF.m , MATLAB, 77 lines - Neural Activity Imaging/
FindActive.m , MATLAB, 19 lines - Neural Activity Imaging/
FindActiveInt_LF.m , MATLAB, 101 lines, 1 match - Neural Activity Imaging/
GetActiveByTrial_LF.m , MATLAB, 21 lines - Neural Activity Imaging/
GetMauthner.m , MATLAB, 14 lines - Neural Activity Imaging/
ROIDetect_LF2_noHals.m , MATLAB, 177 lines - Neural Activity Imaging/
Read_tiff.m , MATLAB, 11 lines - Neural Activity Imaging/
Save_tiff.m , MATLAB, 8 lines - Neural Activity Imaging/
ShowActive_LF.m , MATLAB, 25 lines - Neural Activity Imaging/
construct_traces_LF.m , MATLAB, 17 lines - Neural Activity Imaging/
getActiveInt_LF.m , MATLAB, 21 lines - Neural Activity Imaging/
getBGimages_LF2.m , MATLAB, 57 lines - Neural Activity Imaging/
getNearROIs.m , MATLAB, 22 lines - Neural Activity Imaging/
main.m , MATLAB, 141 lines, 1 match - Neural Activity Imaging/
multyXcorr.m , MATLAB, 32 lines - Neural Activity Imaging/
showNeuron_LF.m , MATLAB, 183 lines - Neural Activity Imaging/
smudgeCorrection.m , MATLAB, 25 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 24 scripts, each with its path and the digest of its content;
- 5 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data availability
The data that support the findings of this study are available from the corresponding author upon request. The code that was used for neural activity imaging and ExM data analysis can be freely downloaded from the Open Science Framework using this link: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 6 authors, 5 keywords, 1 funder, 121 references.
Cite
This paper
Meron, D., Levinsky, Y., Prendes, M., Brosh, I., Freiman, M., & Freifeld, L. (2026). Induced epileptic seizures in larval zebrafish reveal a synaptic modulation associated with the post-ictal state. Brain communications, 8(5), fcag323. https://
BibTeX
@article{meron2026induce
author = {Meron, Dor and Levinsky, Yarden and Prendes, Milagros and Brosh, Inbar and Freiman, Moti and Freifeld, Limor},
title = {{Induced epileptic seizures in larval zebrafish reveal a synaptic modulation associated with the post-ictal state}},
journal = {Brain communications},
year = {2026},
month = sep,
volume = {8},
number = {5},
pages = {fcag323},
publisher = {Oxford University Press},
issn = {2632-1297},
doi = {10.1093/
url = {https://
pmid = {42712917},
pmcid = {PMC13550772}
}
RIS
TY - JOUR
AU - Meron, Dor
AU - Levinsky, Yarden
AU - Prendes, Milagros
AU - Brosh, Inbar
AU - Freiman, Moti
AU - Freifeld, Limor
TI - Induced epileptic seizures in larval zebrafish reveal a synaptic modulation associated with the post-ictal state
T2 - Brain communications
J2 - Brain Commun
PY - 2026
DA - 2026/
VL - 8
IS - 5
SP - fcag323
SN - 2632-1297
PB - Oxford University Press
DO - 10.1093/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1093/
"type": "article-journal",
"title": "Induced epileptic seizures in larval zebrafish reveal a synaptic modulation associated with the post-ictal state",
"container-title": "Brain communications",
"author": [
{
"family": "Meron",
"given": "Dor"
},
{
"family": "Levinsky",
"given": "Yarden"
},
{
"family": "Prendes",
"given": "Milagros"
},
{
"family": "Brosh",
"given": "Inbar"
},
{
"family": "Freiman",
"given": "Moti"
},
{
"family": "Freifeld",
"given": "Limor"
}
],
"container-title-short":
"volume": "8",
"issue": "5",
"page": "fcag323",
"DOI": "10.1093/
"PMID": "42712917",
"PMCID": "PMC13550772",
"ISSN": "2632-1297",
"publisher": "Oxford University Press",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
8
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1038/s41598-026-40684-3
- Escape behaviors are transiently modulated after acutely induced epileptic seizures in larval zebrafish.Journal: Scientific reportsIn common: zebrafish, epilepsy, 44 references
- [2] doi:10.1038/s41467-026-75490-y [code]
- Topographically organized dorsal raphe activity modulates forebrain sensory-motor representations and contributes to defensive behaviors.Journal: Nature communicationsIn common: Parallel Computing Toolbox, Image Processing Toolbox, Signal Processing Toolbox, zebrafish, 2 references
- [3] doi:10.7554/elife.100642 [code]
- Disrupted hippocampal theta-gamma coupling and spike-field coherence following experimental traumatic brain injury.Journal: eLifeIn common: Parallel Computing Toolbox, Image Processing Toolbox, Signal Processing Toolbox, 2 references
- [4] doi:10.3389/fneur.2026.1793970 [code]
- The cumulative impact of seizures: the science underlying how seizures beget seizures.Journal: Frontiers in neurologyIn common: epilepsy, 4 references
- [5] doi:10.1038/s41467-026-76242-8 [code]
- Whole-brain, all-optical interrogation of neuronal dynamics underlying gut and vascular interoception in zebrafish.Journal: Nature communicationsIn common: Parallel Computing Toolbox, Image Processing Toolbox, zebrafish, 2 references
- [6] doi:10.3390/molecules31091511
- 5-(Benzofuran-2-yl)-3-(2
-chloro-4-fluorobenzyl)- 1,3,4-oxadiazol-2(3H)-on e (GM-90663) Alleviates Dravet Syndrome via Inhibiting Monoamine Oxidase Activity. Journal: Molecules (Basel, Switzerland)In common: zebrafish, epilepsy, 3 references - [7] doi:10.1038/s41592-026-03179-7 [code]
- Voltage imaging of neurons distributed across entire brains of larval zebrafish.Journal: Nature methodsIn common: zebrafish, histology / microscopy, 3 references
- [8] doi:10.1016/j.isci.2026.116769 [code]
- Graph-based modeling of optical system enables adaptive optics on dynamic samples with self-calibration.Journal: iScienceIn common: Parallel Computing Toolbox, Image Processing Toolbox, 2 references
- [9] doi:10.1016/j.celrep.2026.117646 [code]
- Medial entorhinal-hippocampal desynchronization parallels the emergence of memory impairment in a mouse model of Alzheimer's disease pathology.Journal: Cell reportsIn common: Parallel Computing Toolbox, Image Processing Toolbox, Signal Processing Toolbox, 1 reference
- [10] doi:10.7554/elife.110370 [code]
- Serotonergic modulation of motor subspace dynamics drives a sleep-independent quiescent state.Journal: eLifeIn common: Parallel Computing Toolbox, Image Processing Toolbox, zebrafish, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 24 scripts, and 5 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:1f8e8521ae084daf…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[.
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
