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 without 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 to 73 · score 0.65 · bilateral filter, image stack, smoothing, MATLAB, segmentation, receptor · Report a mismatch
- [2] § Materials and methods › Analysis of ExM images of glycinergic synapses on the M cells ↔ ExM GlyR Imaging/extrapolate_and_dilate.m, lines 1 to 28 · score 0.64 · original image resolution, 0.59 um, 0.1625 um, dilated, dimensions, mask · Report a mismatch
- [3] § Materials and methods › Analysis of neural activity in response to startling stimuli ↔ Neural Activity Imaging/main.m, lines 48 to 55 · score 0.53 · EZCalcium, CaImAn, ROI, neurons, neural activity · Report a mismatch
- [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 · Report a mismatch
- [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 to 73 · score 0.52 · image stack, Bilateral, filtering, smooth, MATLAB, segmentation · Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: 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.1111/epi.17380
- Elevated photic response is followed by a rapid decay and depressed state in ictogenic networks.Journal: EpilepsiaIn common: zebrafish, epilepsy, 10 references
- [3] doi:10.1371/journal.pbio.3002499 [code]
- Modulation of NMDA receptor signaling and zinc chelation prevent seizure-like events in a zebrafish model of SLC13A5 epilepsy.Journal: PLoS biologyIn common: zebrafish, epilepsy, cellular / molecular, 6 references
- [4] doi:10.1038/s41467-025-62115-z [code]
- Inhibition mediated by group III metabotropic glutamate receptors regulates habenula activity and defensive behaviors.Journal: Nature communicationsIn common: Signal Processing Toolbox, Image Processing Toolbox, zebrafish, cellular / molecular, 5 references
- [5] doi:10.7554/elife.82916 [code]
- Neural circuits underlying habituation of visually evoked escape behaviors in larval zebrafish.Journal: eLifeIn common: Signal Processing Toolbox, Image Processing Toolbox, zebrafish, 5 references
- [6] doi:10.1016/j.isci.2024.110078
- Ciliogenesis defects after neurulation impact brain development and neuronal activity in larval zebrafish.Journal: iScienceIn common: zebrafish, 6 references
- [7] doi:10.1242/dmm.052509 [code]
- Inhibition of Cxcr4 chemokine receptor signaling improves habituation learning in a zebrafish model of neurofibromatosis.Journal: Disease models & mechanismsIn common: Parallel Computing Toolbox, Image Processing Toolbox, zebrafish, cellular / molecular, 4 references
- [8] doi:10.1016/j.celrep.2023.112287
- Thalamic regulation of a visual critical period and motor behavior.Journal: Cell reportsIn common: zebrafish, 5 references
- [9] 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, Signal Processing Toolbox, Image Processing Toolbox, zebrafish, 2 references
- [10] doi:10.1126/sciadv.adv7576 [code]
- Structural and genetic determinants of zebrafish functional brain networks.Journal: Science advancesIn common: zebrafish, 5 references
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 the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1093/braincomms/fcag323)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1093/braincomms/fcag323.svg
:target: https://openscicode.org/badge/doi/10.1093/braincomms/fcag323
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1093/braincomms/fcag323"><img src="https://openscicode.org/badge/doi/10.1093/braincomms/fcag323.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
