OSCR

Opioid receptor distribution in the claustrum-dorsal endopiriform complex.

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

Jupyter notebook · 110 lines · 3.8 KB · BSD-3-Clause

  1. # %% [markdown]
  2. # **In case of problems or questions, please first check the list of [Frequently Asked Questions (FAQ)](https://stardist.net/docs/faq.html).**
  3. # %%
  4. from __future__ import print_function, unicode_literals, absolute_import, division
  5. import numpy as np
  6. import matplotlib
  7. matplotlib.rcParams["image.interpolation"] = 'none'
  8. import matplotlib.pyplot as plt
  9. %matplotlib inline
  10. %config InlineBackend.figure_format = 'retina'
  11. from glob import glob
  12. from tqdm import tqdm
  13. from tifffile import imread
  14. from csbdeep.utils import Path, download_and_extract_zip_file
  15. from stardist import fill_label_holes, relabel_image_stardist, random_label_cmap
  16. from stardist.matching import matching_dataset
  17. np.random.seed(42)
  18. lbl_cmap = random_label_cmap()
  19. # %% [markdown]
  20. # # Data
  21. #
  22. # This notebook demonstrates how the training data for *StarDist* should look like and whether the annotated objects can be appropriately described by star-convex polygons.
  23. #
  24. # <div class="alert alert-block alert-info">
  25. # The training data that needs to be provided for StarDist consists of corresponding pairs of raw images and pixelwise annotated ground truth images (masks), where every pixel has a unique integer value indicating the object id (or 0 for background).
  26. # </div>
  27. #
  28. # For this demo we will download the file `dsb2018.zip` that contains the respective train and test images with associated ground truth labels as used in [our paper](https://arxiv.org/abs/1806.03535).
  29. # They are a subset of the `stage1_train` images from the Kaggle 2018 Data Science Bowl, which are [available in full](https://data.broadinstitute.org/bbbc/BBBC038/) from the [Broad Bioimage Benchmark Collection](https://data.broadinstitute.org/bbbc/).
  30. # %%
  31. download_and_extract_zip_file(
  32. url = 'https://github.com/stardist/stardist/releases/download/0.1.0/dsb2018.zip',
  33. targetdir = 'data',
  34. verbose = 1,
  35. )
  36. # %%
  37. X = sorted(glob('data/dsb2018/train/images/*.tif'))
  38. Y = sorted(glob('data/dsb2018/train/masks/*.tif'))
  39. assert all(Path(x).name==Path(y).name for x,y in zip(X,Y))
  40. # %% [markdown]
  41. # Load only a small subset
  42. # %%
  43. X, Y = X[:10], Y[:10]
  44. # %%
  45. X = list(map(imread,X))
  46. Y = list(map(imread,Y))
  47. # %% [markdown]
  48. # # Example image
  49. # %%
  50. i = min(4, len(X)-1)
  51. img, lbl = X[i], fill_label_holes(Y[i])
  52. assert img.ndim in (2,3)
  53. img = img if img.ndim==2 else img[...,:3]
  54. # assumed axes ordering of img and lbl is: YX(C)
  55. # %%
  56. plt.figure(figsize=(16,10))
  57. plt.subplot(121); plt.imshow(img,cmap='gray'); plt.axis('off'); plt.title('Raw image')
  58. plt.subplot(122); plt.imshow(lbl,cmap=lbl_cmap); plt.axis('off'); plt.title('GT labels')
  59. None;
  60. # %% [markdown]
  61. # # Fitting ground-truth labels with star-convex polygons
  62. # %%
  63. n_rays = [2**i for i in range(2,8)]
  64. scores = []
  65. for r in tqdm(n_rays):
  66. Y_reconstructed = [relabel_image_stardist(lbl, n_rays=r) for lbl in Y]
  67. mean_iou = matching_dataset(Y, Y_reconstructed, thresh=0, show_progress=False).mean_true_score
  68. scores.append(mean_iou)
  69. # %%
  70. plt.figure(figsize=(8,5))
  71. plt.plot(n_rays, scores, 'o-')
  72. plt.xlabel('Number of rays for star-convex polygon')
  73. plt.ylabel('Reconstruction score (mean intersection over union)')
  74. plt.title("Accuracy of ground truth reconstruction (should be > 0.8 for a reasonable number of rays)")
  75. None;
  76. # %%
  77. plt.figure(figsize=(8,5))
  78. plt.plot(n_rays, scores, 'o-')
  79. plt.xlabel('Number of rays for star-convex polygon')
  80. plt.ylabel('Reconstruction score (mean intersection over union)')
  81. plt.title("Accuracy of ground truth reconstruction (should be > 0.8 for a reasonable number of rays)")
  82. None;
  83. # %% [markdown]
  84. # ## Example image reconstructed with various number of rays
  85. # %%
  86. fig, ax = plt.subplots(2,3, figsize=(16,11))
  87. for a,r in zip(ax.flat,n_rays):
  88. a.imshow(relabel_image_stardist(lbl, n_rays=r), cmap=lbl_cmap)
  89. a.set_title('Reconstructed (%d rays)' % r)
  90. a.axis('off')
  91. plt.tight_layout();

1_data.ipynb at commit e80c6de, under BSD-3-Clause · at the source

Overview

Authors: Matthew Bolger1, Jesse Jackson2,3, Anna M.W. Taylor1,2,4,5
ORCID iDs: Anna M.W. Taylor
  1. Department of Pharmacology, University of Alberta, Edmonton, Alberta, Canada
  2. Neuroscience and Mental Health Institute, University of Alberta, Edmonton, Alberta, Canada
  3. Department of Physiology, University of Alberta, Edmonton, Alberta, Canada
  4. Cancer Research Institute of Northern Alberta, University of Alberta, Edmonton, Alberta, Canada
  5. Department of Anesthesiology and Pain Medicine, University of Alberta, Edmonton, Alberta, Canada
Journal: iScience, volume 29, issue 6, article 116213
Dates: received 26 November 2025; accepted 18 May 2026; published online 2 June 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1016/j.isci.2026.116213 · PMID 42291192 · PMCID PMC13254841 · OpenAlex W4416329631
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: pain (population), cellular / molecular (subfield)
Methods: Smoothing, state filtering, decompositions, Machine learning, Connectivity, fMRI & imaging
Keywords: biological sciences
Topic: Neurogenesis and neuroplasticity mechanisms (Developmental Neuroscience, Neuroscience), according to OpenAlex
Funding: Alberta Cancer Foundation; Natural Sciences and Engineering Research Council of Canada (RGPIN 2018-04010); Canadian Institutes of Health Research (PJT 192040, PJT 195864); University of Alberta Faculty of Medicine & Dentistry Cell Imaging Core; University Hospital Foundation
Citations: cited by 1 paper (Europe PMC); 32 references in the paper

Abstract

The claustrum and dorsal endopiriform form a subcortical structure reciprocally connected to the neocortex and enriched in opioid receptors. However, the precise cellular distribution of opioid receptors within this region remains unclear. Using multiplexed fluorescent in situ hybridization we mapped the expression of mu (Oprm), delta (Oprd), kappa (Oprk), and ORL1 (Oprl) opioid receptors in the mouse claustrum-dorsal endopiriform. Oprk expression was restricted to excitatory neurons and enriched in a single population of Synpr+ claustrum core projection cells. In contrast, Oprd, Oprm, and Oprl genes were more broadly distributed across excitatory and inhibitory populations. Spatial mapping further confirmed Oprk expression was restricted within the claustrum core. Analysis of a publicly available snRNA-seq dataset of the macaque claustrum also revealed a similar receptor distribution. This demonstrates an evolutionarily conserved, cell-type-specific organization of opioid receptor expression in the claustrum-dorsal endopiriform and suggests nuanced roles for other opioid receptors in modulating claustrocortical circuits.

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

Repository

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

stardist/stardist

License: BSD-3-Clause
State: the link answers, verified on 29 October 2026
Evidence: files inventoried
Commit: e80c6de700693bc228ed3c9ba1dc19c3785667ee, 14 February 2026
Languages: Python (40), C/C++ (38), C++ (26), C (15), Jupyter (14)
Size: 201 files, 133 scripts
Software Heritage: archived
Found in: the text, “Key resources table”
Holds: README, license file, environment (pyproject.toml, setup.cfg, setup.py, docker/Dockerfile), tests, continuous integration, 14 notebooks
Not found: CITATION.cff, documentation
Tools: NumPy (19 files), Matplotlib (14 files), tifffile (14 files), scikit-image (7 files), imageio (2 files), Numba (1 file), SciPy (1 file), TensorFlow (1 file), xarray (1 file)
Availability: 2 checks, the latest on 29 October 2026: the link answers
  • 29 October 2026: the link answers
  • 27 September 2026: the link answers
59 files

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;
  • 57 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

Datasets cited

Data and code availability

• mFISH image analysis datasets generated in this study can be found at https://doi.org/10.5281/zenodo.17633672. • This study does not report original code. • Any additional information required to reanalyze the data reported in this study is available from lead contact upon request.

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, 3 authors, 1 keyword, 5 funders, 32 references.

Cite

This paper

Bolger, M., Jackson, J., & Taylor, A. M. (2026). Opioid receptor distribution in the claustrum-dorsal endopiriform complex. iScience, 29(6), 116213. https://doi.org/10.1016/j.isci.2026.116213

BibTeX

@article{bolger2026opioid,
author = {Bolger, Matthew and Jackson, Jesse and Taylor, Anna M.W.},
title = {{Opioid receptor distribution in the claustrum-dorsal endopiriform complex}},
journal = {iScience},
year = {2026},
month = jun,
volume = {29},
number = {6},
pages = {116213},
publisher = {Elsevier},
issn = {2589-0042},
doi = {10.1016/j.isci.2026.116213},
url = {https://doi.org/10.1016/j.isci.2026.116213},
pmid = {42291192},
pmcid = {PMC13254841}
}

RIS

TY - JOUR
AU - Bolger, Matthew
AU - Jackson, Jesse
AU - Taylor, Anna M.W.
TI - Opioid receptor distribution in the claustrum-dorsal endopiriform complex
T2 - iScience
J2 - iScience
PY - 2026
DA - 2026/06/02
VL - 29
IS - 6
SP - 116213
SN - 2589-0042
PB - Elsevier
DO - 10.1016/j.isci.2026.116213
UR - https://doi.org/10.1016/j.isci.2026.116213
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.isci.2026.116213",
"type": "article-journal",
"title": "Opioid receptor distribution in the claustrum-dorsal endopiriform complex",
"container-title": "iScience",
"author": [
{
"family": "Bolger",
"given": "Matthew"
},
{
"family": "Jackson",
"given": "Jesse"
},
{
"family": "Taylor",
"given": "Anna M.W."
}
],
"container-title-short": "iScience",
"volume": "29",
"issue": "6",
"page": "116213",
"DOI": "10.1016/j.isci.2026.116213",
"PMID": "42291192",
"PMCID": "PMC13254841",
"ISSN": "2589-0042",
"publisher": "Elsevier",
"URL": "https://doi.org/10.1016/j.isci.2026.116213",
"language": "en",
"issued": {
"date-parts": [
[
2026,
6,
2
]
]
}
}

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.1523/eneuro.0219-25.2025 [code]
Excitatory Synaptic Transmission Is Differentially Modulated by Opioid Receptors along the Claustrocingulate Pathway.
Journal: eNeuro
In common: Matplotlib, NumPy, pain, cellular / molecular, 7 references
[2] doi:10.1016/j.isci.2025.113566 [code]
Nonspecific ensemble reactivation in mouse dentate gyrus disrupts spatial working memory.
Journal: iScience
In common: xarray, imageio, tifffile, 6 other tools, 1 reference
[3] doi:10.1038/s41598-024-55608-2 [code]
Automatic monitoring of neural activity with single-cell resolution in behaving Hydra.
Journal: Scientific reports
In common: xarray, imageio, tifffile, 6 other tools, 1 reference
[4] doi:10.1038/s41467-025-65809-6 [code]
The claustrum enhances neural variability by modulating the responsiveness of the prefrontal cortex.
Journal: Nature communications
In common: tifffile, TensorFlow, SciPy, 2 other tools, 5 references
[5] doi:10.3389/fnbeh.2026.1895371 [code]
Discrete and differentiated encoding of distinct components of spatial experience occurs within the proximodistal subfields of the dorsoventral axis of the hippocampus.
Journal: Frontiers in behavioral neuroscience
In common: xarray, imageio, tifffile, 6 other tools, 1 reference
[6] doi:10.1371/journal.pcbi.1014571 [code]
SynAPSeg: A novel dataset and image analysis framework for deep learning-based synapse detection and quantification.
Journal: PLoS computational biology
In common: imageio, tifffile, Numba, 5 other tools, 2 references
[7] doi:10.1016/j.isci.2026.115689 [code]
Unperturbed dye-based imaging of spontaneous synchronized calcium activity in iPSC-derived neuronal cultures.
Journal: iScience
In common: xarray, imageio, tifffile, 6 other tools, cellular / molecular
[8] doi:10.1186/s40478-025-02189-4 [code]
Microglia drive synaptic and functional connectivity deficits in the Ts65Dn mouse model of Down syndrome by affecting inhibition.
Journal: Acta neuropathologica communications
In common: xarray, imageio, tifffile, 6 other tools, cellular / molecular
[9] doi:10.1016/j.celrep.2024.115149 [code]
Single-nucleus and spatial landscape of the sub-ventricular zone in human glioblastoma.
Journal: Cell reports
In common: xarray, imageio, tifffile, 6 other tools, cellular / molecular
[10] doi:10.1038/s41467-024-55519-w [code]
In vivo spontaneous Ca&lt;sup&gt;2+&lt;/sup&gt; activity in the pre-hearing mammalian cochlea.
Journal: Nature communications
In common: xarray, imageio, tifffile, 6 other tools, cellular / molecular

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.1016/j.isci.2026.116213.svg)](https://openscicode.org/badge/doi/10.1016/j.isci.2026.116213)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116213.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.isci.2026.116213
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116213"><img src="https://openscicode.org/badge/doi/10.1016/j.isci.2026.116213.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.