OSCR

Functional specialization of mPFC-BLA and mPFC-NAc pathways in affective state representation.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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

Python · 279 lines · 9.5 KB · MIT

  1. """Batch CaImAn processing for one-photon calcium imaging TIFF files.
  2. This script performs motion correction, CNMF source extraction, seeded CNMF
  3. refinement, component filtering, and export of fluorescence traces and spatial
  4. metadata. Paths, animal identifiers, and day ranges are provided on the command
  5. line so the pipeline can be reused without editing the source code.
  6. """
  7. from __future__ import annotations
  8. import argparse
  9. import glob
  10. import os
  11. import time
  12. from pathlib import Path
  13. import cv2
  14. import numpy as np
  15. import pandas as pd
  16. from scipy.ndimage import center_of_mass
  17. import caiman as cm
  18. from caiman.motion_correction import MotionCorrect
  19. from caiman.source_extraction.cnmf import cnmf, params
  20. from caiman.source_extraction.cnmf.utilities import detrend_df_f
  21. try:
  22. cv2.setNumThreads(0)
  23. except Exception:
  24. pass
  25. def parse_args() -> argparse.Namespace:
  26. parser = argparse.ArgumentParser(
  27. description="Run the CaImAn extraction pipeline on a batch of TIFF files."
  28. )
  29. parser.add_argument(
  30. "--tif-root",
  31. required=True,
  32. type=Path,
  33. help="Directory containing input TIFFs organized as <mouse>/<day>/<file>.tif.",
  34. )
  35. parser.add_argument(
  36. "--output-dir",
  37. required=True,
  38. type=Path,
  39. help="Directory where CaImAn outputs will be written.",
  40. )
  41. parser.add_argument(
  42. "--mice",
  43. required=True,
  44. help="Comma-separated animal/sample identifiers, e.g. 'Mouse01,Mouse02'.",
  45. )
  46. parser.add_argument(
  47. "--days",
  48. default="1-14",
  49. help="Day range or list. Examples: '1-14' or '1,2,5'. Default: 1-14.",
  50. )
  51. parser.add_argument(
  52. "--suffixes",
  53. default="motor training-Ch1-Z1",
  54. help="Comma-separated TIFF filename stems to process, without '.tif'.",
  55. )
  56. parser.add_argument("--frame-rate", default=13.088, type=float)
  57. parser.add_argument("--decay-time", default=1.162, type=float)
  58. parser.add_argument("--frames-window", default=300, type=int)
  59. return parser.parse_args()
  60. def parse_int_selection(selection: str) -> list[int]:
  61. if "-" in selection:
  62. start, end = selection.split("-", 1)
  63. return list(range(int(start), int(end) + 1))
  64. return [int(item.strip()) for item in selection.split(",") if item.strip()]
  65. def caiman_params(fnames: list[str], frame_rate: float, decay_time: float) -> params.CNMFParams:
  66. opts_dict = {
  67. "fnames": fnames,
  68. "fr": frame_rate,
  69. "decay_time": decay_time,
  70. # Motion correction.
  71. "strides": (48, 48),
  72. "overlaps": (24, 24),
  73. "max_shifts": (6, 6),
  74. "max_deviation_rigid": 3,
  75. "pw_rigid": True,
  76. # Source extraction and deconvolution.
  77. "p": 1,
  78. "nb": 2,
  79. "rf": 15,
  80. "K": 4,
  81. "gSig": [8, 8],
  82. "stride": 6,
  83. "method_init": "greedy_roi",
  84. "rolling_sum": True,
  85. "only_init": True,
  86. "ssub": 1,
  87. "tsub": 1,
  88. "merge_thr": 0.85,
  89. # Component evaluation.
  90. "min_SNR": 3.0,
  91. "rval_thr": 0.90,
  92. "use_cnn": False,
  93. "min_cnn_thr": 0.99,
  94. "cnn_lowest": 0.1,
  95. }
  96. return params.CNMFParams(params_dict=opts_dict)
  97. def start_cluster():
  98. return cm.cluster.setup_cluster(backend="local", n_processes=None, single_thread=False)
  99. def remove_caiman_logs() -> None:
  100. for log_file in glob.glob("*_LOG_*"):
  101. os.remove(log_file)
  102. def process_tiff(
  103. file_path: Path,
  104. save_path: Path,
  105. base_name: str,
  106. frame_rate: float,
  107. decay_time: float,
  108. frames_window: int,
  109. ) -> None:
  110. start_time = time.time()
  111. step_start = start_time
  112. fnames = [str(file_path)]
  113. opts = caiman_params(fnames, frame_rate, decay_time)
  114. save_path.mkdir(parents=True, exist_ok=True)
  115. print("-------------------------------------")
  116. print("Working on", file_path)
  117. print(" - Done setting up parameters")
  118. cluster, dview, n_processes = start_cluster()
  119. print(" - Done creating cluster", n_processes)
  120. try:
  121. mc = MotionCorrect(fnames, **opts.get_group("motion"))
  122. mc.motion_correct(save_movie=True)
  123. border_to_0 = 0 if mc.border_nan == "copy" else mc.border_to_0
  124. print(" - Done motion correction, cost", (time.time() - step_start) / 60, "minutes")
  125. step_start = time.time()
  126. fname_new = cm.save_memmap(
  127. mc.mmap_file,
  128. base_name="memmap_",
  129. order="C",
  130. border_to_0=border_to_0,
  131. )
  132. yr, dims, frames = cm.load_memmap(fname_new)
  133. images = np.reshape(yr.T, [frames] + list(dims), order="F")
  134. print(" - Done memory mapping, image shape=", images.shape, "cost", (time.time() - step_start) / 60, "minutes")
  135. step_start = time.time()
  136. cm.stop_server(dview=dview)
  137. cluster, dview, n_processes = start_cluster()
  138. cnm_model = cnmf.CNMF(n_processes, params=opts, dview=dview)
  139. cnm_model.fit(images)
  140. print(" - Done CNMF fitting, cost", (time.time() - step_start) / 60, "minutes")
  141. step_start = time.time()
  142. corr_img = cm.local_correlations(images.transpose(1, 2, 0))
  143. corr_img[np.isnan(corr_img)] = 0
  144. np.save(save_path / f"{base_name}-localCorrImg.npy", corr_img)
  145. print(" - Done getting correlation image, cost", (time.time() - step_start) / 60, "minutes")
  146. step_start = time.time()
  147. cnm_refit = cnm_model.refit(images, dview=dview)
  148. cnm_refit.estimates.evaluate_components(images, cnm_refit.params, dview=dview)
  149. print(" - Done seeded CNMF and component evaluation, cost", (time.time() - step_start) / 60, "minutes")
  150. save_outputs(cnm_refit, dims, save_path, base_name, frames_window)
  151. finally:
  152. cm.stop_server(dview=dview)
  153. remove_caiman_logs()
  154. print(" - The whole process took", (time.time() - start_time) / 60, "minutes")
  155. print(" - All clusters cleaned\n")
  156. def save_outputs(cnm_model, dims, save_path: Path, base_name: str, frames_window: int) -> None:
  157. accepted = cnm_model.estimates.idx_components
  158. metrics = pd.DataFrame(
  159. {
  160. "accepted_neuron": accepted,
  161. "SNR": cnm_model.estimates.SNR_comp[accepted],
  162. "spatial_correlation": cnm_model.estimates.r_values[accepted],
  163. }
  164. )
  165. selected = metrics[(metrics["SNR"] > 3) & (metrics["spatial_correlation"] >= 0.9)]
  166. candidate_neurons = selected["accepted_neuron"].values.tolist()
  167. spatial_components = cnm_model.estimates.A.toarray()
  168. x_coords: list[float] = []
  169. y_coords: list[float] = []
  170. final_neurons: list[int] = []
  171. for neuron_idx in candidate_neurons:
  172. image = spatial_components[:, neuron_idx].reshape(dims[1], dims[0])
  173. x_coord, y_coord = center_of_mass(image)
  174. if 20 < x_coord < dims[0] - 20 and 20 < y_coord < dims[1] - 20:
  175. x_coords.append(x_coord)
  176. y_coords.append(y_coord)
  177. final_neurons.append(neuron_idx)
  178. if not final_neurons:
  179. print(" - No neurons passed filtering.")
  180. return
  181. pd.DataFrame({"neuronIndex": final_neurons, "x": x_coords, "y": y_coords}).to_csv(
  182. save_path / f"{base_name}-C.csv"
  183. )
  184. selected[selected["accepted_neuron"].isin(final_neurons)].to_excel(
  185. save_path / f"{base_name}-allNeuronEvaluation.xlsx"
  186. )
  187. fluorescence = cnm_model.estimates.C[final_neurons, :]
  188. spikes = cnm_model.estimates.S[final_neurons, :]
  189. pd.DataFrame(fluorescence.T).to_csv(save_path / f"{base_name}-F.csv")
  190. pd.DataFrame(spikes.T).to_csv(save_path / f"{base_name}-S.csv")
  191. cnm_model.estimates.detrend_df_f(quantileMin=8, frames_window=frames_window)
  192. dff = cnm_model.estimates.F_dff[final_neurons, :]
  193. pd.DataFrame(dff.T).to_csv(save_path / f"{base_name}-DFF.csv")
  194. spatial = cnm_model.estimates.A[:, final_neurons].toarray()
  195. denoised = cnm_model.estimates.C[final_neurons, :]
  196. background_spatial = cnm_model.estimates.b
  197. background_temporal = cnm_model.estimates.f
  198. denoised_dff = detrend_df_f(
  199. spatial,
  200. background_spatial,
  201. denoised,
  202. background_temporal,
  203. frames_window=frames_window,
  204. )
  205. pd.DataFrame(denoised_dff).T.to_csv(save_path / f"{base_name}-DDFF.csv")
  206. cnm_model.save(save_path / f"{base_name}.hdf5")
  207. print(" - Done with DFF, fluorescence, and spikes", dff.T.shape, fluorescence.T.shape, spikes.T.shape)
  208. print(" - Done saving seeded CNMF results in HDF5")
  209. def main() -> None:
  210. args = parse_args()
  211. mice = [item.strip() for item in args.mice.split(",") if item.strip()]
  212. days = parse_int_selection(args.days)
  213. suffixes = [item.strip() for item in args.suffixes.split(",") if item.strip()]
  214. for mouse_name in mice:
  215. mouse_folder = mouse_name.replace(" ", "")
  216. for day_idx in days:
  217. day = f"day {day_idx}"
  218. for suffix in suffixes:
  219. file_path = args.tif_root / mouse_name / day / f"{suffix}.tif"
  220. base_name = f"{mouse_folder}-{day.replace(' ', '-')}-{suffix.replace(' ', '-')}"
  221. save_path = args.output_dir / mouse_folder
  222. if file_path.exists():
  223. process_tiff(
  224. file_path=file_path,
  225. save_path=save_path,
  226. base_name=base_name,
  227. frame_rate=args.frame_rate,
  228. decay_time=args.decay_time,
  229. frames_window=args.frames_window,
  230. )
  231. else:
  232. print("-------------------------------------")
  233. print(file_path, "does not exist.\n")
  234. print("Done.")
  235. if __name__ == "__main__":
  236. main()

CaImAn_Pipeline.py at commit 1360d78, under MIT · at the source

Overview

Authors: Chien-Hsien Lai1, Gyeongah Park2, Pan Xu1, Xiaoqian Sun3, Qian Ge2, Zhen Jin2, Sarah Betts1, Xiaojie Liu4, Qing-Song Liu4, Rahul Simha3, Chen Zeng5, Hui Lu1, Jianyang Du2,6
  1. Department of Pharmacology and Physiology, School of Medicine and Health Sciences, The George Washington University, Washington, DC, United States
  2. Department of Anatomy and Neurobiology, University of Tennessee Health Science Center, Memphis, United States
  3. Department of Computer Science, School of Engineering and Applied Science, The George Washington University, Washington, DC, United States
  4. Department of Pharmacology and Toxicology, Medical College of Wisconsin, Milwaukee, United States
  5. Department of Physics, Columbia College of Arts and Sciences, The George Washington University, Washington, DC, United States
  6. Neuroscience Institute, University of Tennessee Health Science Center, Memphis, United States
Journal: eLife, volume 14, article RP105528
Dates: published online 7 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.105528 · PMID 42565461 · PMCID PMC13451018 · OpenAlex W4408620778
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: mouse (organism)
Methods: Statistics, Smoothing, state filtering, decompositions, Preprocessing, Connectivity, fMRI & imaging, Single-unit activity, calcium imaging
Keywords: Mouse
MeSH: Basolateral Nuclear Complex*, Neural Pathways*, Nucleus Accumbens*, Prefrontal Cortex*, Animals, Behavior, Animal, Emotions, Male, Mice, Mice, Inbred C57BL, Neurons (* major topic)
Topic: Memory and Neural Mechanisms (Cognitive Neuroscience, Neuroscience), according to OpenAlex
Funding: NINDS NIH HHS (R01 NS118197, R01NS118197, R01NS143931, R01 NS143931); NIBIB NIH HHS (R01 EB033364); NIMH NIH HHS (R01MH135862, R01 MH135862); Cystic Fibrosis Foundation (002544I221)
Citations: cited by 1 paper (Europe PMC); 44 references in the paper

Abstract

Effective emotional processing, crucial for adaptive behavior, is mediated by the medial prefrontal cortex (mPFC) via connections to the basolateral amygdala (BLA), and nucleus accumbens (NAc), traditionally considered functionally similar in modulating reward and aversion responses. However, the functional specialization of the mPFC→BLA and mPFC→NAc pathways in representing affective states remains unclear. We found that while overall firing patterns appeared consistent across emotional states, deeper analysis revealed distinct variabilities. Specifically, mPFC→BLA neurons, especially ‘center-ON’ neurons, exhibited heightened activity during behaviors classically associated with anxiety-like states, suggesting their involvement in aversive behavioral regulation. Conversely, mPFC→NAc neurons were more active during exploratory and approach-related behaviors, implicating them in the processing of positively valenced behavioral states. Notably, mPFC→NAc neurons showed significant pattern decorrelation during social interactions, suggesting a pivotal role in processing social preference. Additionally, repeated win/loss outcomes in the tube test produced distinct hierarchy-dependent behavioral changes and elevated corticosterone levels in loser mice, supporting the biological relevance of these behaviorally defined states. Together, these findings reveal pathway-specific representations of affect-related behavioral states in mPFC circuits and provide a framework for understanding how prefrontal outputs organize adaptive behavior across environmental contexts.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

Its files are read in the Code ↔ Paper reader above.

xiaoqiansun0104/caiman-based-ca2-processing

License: MIT
State: the link answers, verified on 27 September 2026
Evidence: files inventoried
Commit: 1360d78dcc7d00ab5ece8af13f1a7660142bc410, 17 June 2026
Languages: Python (2)
Size: 5 files, 2 scripts
Software Heritage: not archived
Found in: the text, “Ca 2+ image processing”
Holds: README, license file, environment (requirements.txt)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: NumPy (2 files), OpenCV (2 files), pandas (2 files), SciPy (2 files), CaImAn (1 file), h5py (1 file), Matplotlib (1 file)
Availability: 1 check, the latest on 27 September 2026: the link answers
  • 27 September 2026: the link answers
4 files

doi:10.5061/dryad.02v6wwqkj

License: none: the authors keep all their rights
State: the link answers, verified on 27 September 2026
Evidence: the link answers
Software Heritage: not checked
Found in: “Data availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
  • 27 September 2026: the link answers (HTTP 200)

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 2 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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

All data supporting the findings of this study, along with the code used for data analysis, are available upon reasonable request and have been deposited in Dryad (https://doi.org/10.5061/dryad.02v6wwqkj) and Github (https://github.com/XiaoqianSun0104/CaImAn-based-Ca2-Processing copy archived at Sun, 2026).

The following dataset was generated:

Lai CH, Park G, Xu P, Sun X, Ge Q, Jin Z, Betts S, Liu X, Liu Q, Simha R, Zeng C, Lu H, Du J. 2026. Functional specialization of mPFC-BLA and mPFC-NAc pathways in affective state representation. Dryad Digital Repository.

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, pages, dates, 13 authors, 1 keyword, 11 MeSH terms, 4 funders, 43 references.

Cite

This paper

Lai, C.-H., Park, G., Xu, P., Sun, X., Ge, Q., Jin, Z., Betts, S., Liu, X., Liu, Q.-S., Simha, R., Zeng, C., Lu, H., & Du, J. (2026). Functional specialization of mPFC-BLA and mPFC-NAc pathways in affective state representation. eLife, 14, RP105528. https://doi.org/10.7554/elife.105528

BibTeX

@article{lai2026functional,
author = {Lai, Chien-Hsien and Park, Gyeongah and Xu, Pan and Sun, Xiaoqian and Ge, Qian and Jin, Zhen and Betts, Sarah and Liu, Xiaojie and Liu, Qing-Song and Simha, Rahul and Zeng, Chen and Lu, Hui and Du, Jianyang},
title = {{Functional specialization of mPFC-BLA and mPFC-NAc pathways in affective state representation}},
journal = {eLife},
year = {2026},
month = aug,
volume = {14},
pages = {RP105528},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.105528},
url = {https://doi.org/10.7554/elife.105528},
pmid = {42565461},
pmcid = {PMC13451018}
}

RIS

TY - JOUR
AU - Lai, Chien-Hsien
AU - Park, Gyeongah
AU - Xu, Pan
AU - Sun, Xiaoqian
AU - Ge, Qian
AU - Jin, Zhen
AU - Betts, Sarah
AU - Liu, Xiaojie
AU - Liu, Qing-Song
AU - Simha, Rahul
AU - Zeng, Chen
AU - Lu, Hui
AU - Du, Jianyang
TI - Functional specialization of mPFC-BLA and mPFC-NAc pathways in affective state representation
T2 - eLife
J2 - eLife
PY - 2026
DA - 2026/08/07
VL - 14
SP - RP105528
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.105528
UR - https://doi.org/10.7554/elife.105528
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.105528",
"type": "article-journal",
"title": "Functional specialization of mPFC-BLA and mPFC-NAc pathways in affective state representation",
"container-title": "eLife",
"author": [
{
"family": "Lai",
"given": "Chien-Hsien"
},
{
"family": "Park",
"given": "Gyeongah"
},
{
"family": "Xu",
"given": "Pan"
},
{
"family": "Sun",
"given": "Xiaoqian"
},
{
"family": "Ge",
"given": "Qian"
},
{
"family": "Jin",
"given": "Zhen"
},
{
"family": "Betts",
"given": "Sarah"
},
{
"family": "Liu",
"given": "Xiaojie"
},
{
"family": "Liu",
"given": "Qing-Song"
},
{
"family": "Simha",
"given": "Rahul"
},
{
"family": "Zeng",
"given": "Chen"
},
{
"family": "Lu",
"given": "Hui"
},
{
"family": "Du",
"given": "Jianyang"
}
],
"container-title-short": "eLife",
"volume": "14",
"page": "RP105528",
"DOI": "10.7554/elife.105528",
"PMID": "42565461",
"PMCID": "PMC13451018",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.105528",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
7
]
]
}
}

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/s41467-022-31578-9 [code]
Pattern decorrelation in the mouse medial prefrontal cortex enables social preference and requires MeCP2.
Journal: Nature communications
In common: OpenCV, pandas, SciPy, 2 other tools, mouse, 6 references, 2 authors
[2] doi:10.1126/sciadv.adn7573
Mice lacking acid-sensing ion channel 2 in the medial prefrontal cortex exhibit social dominance.
Journal: Science advances
In common: mouse, 4 references, 3 authors
[3] doi:10.1523/eneuro.0003-24.2024
MeCP2 Deficiency Alters the Response Selectivity of Prefrontal Cortical Neurons to Different Social Stimuli.
Journal: eNeuro
In common: mouse, 5 references, 2 authors
[4] doi:10.1038/s42003-026-10089-z [code]
Medial prefrontal cortex neurons integrate amygdala and hypothalamic oxytocin signals to mediate stress-induced social alterations.
Journal: Communications biology
In common: OpenCV, pandas, SciPy, 2 other tools, mouse, 3 references, author Pan Xu
[5] doi:10.1016/j.neuron.2025.11.021 [code]
Spontaneous behavior is a succession of self-directed tasks.
Journal: Neuron
In common: OpenCV, h5py, pandas, 3 other tools, mouse, 4 references
[6] doi:10.1038/s41593-026-02315-y [code]
The representational geometry of emotional states in basolateral amygdala.
Journal: Nature neuroscience
In common: h5py, pandas, SciPy, 2 other tools, mouse, 4 references
[7] doi:10.1523/eneuro.0096-23.2023 [code]
Meso-Py: Dual Brain Cortical Calcium Imaging in Mice during Head-Fixed Social Stimulus Presentation.
Journal: eNeuro
In common: OpenCV, h5py, pandas, 3 other tools, mouse, 3 references
[8] doi:10.1371/journal.pbio.3003687 [code]
Glutamatergic projections from the substantia nigra pars reticulata to the dorsal raphe nucleus regulate male social hierarchies.
Journal: PLoS biology
In common: mouse, 6 references
[9] doi:10.1038/s41467-024-45376-y [code]
A prefrontal-thalamic circuit encodes social information for social recognition.
Journal: Nature communications
In common: mouse, 6 references
[10] doi:10.1073/pnas.2107942119 [code]
Ca2+ imaging of self and other in medial prefrontal cortex during social dominance interactions in a tube test.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: pandas, SciPy, Matplotlib, 1 other tool, 4 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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.7554/elife.105528.svg)](https://openscicode.org/badge/doi/10.7554/elife.105528)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.7554/elife.105528.svg
   :target: https://openscicode.org/badge/doi/10.7554/elife.105528
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.105528"><img src="https://openscicode.org/badge/doi/10.7554/elife.105528.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->

On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".

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)

Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.

Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.