OSCR

Male and female mice scent mark during social communication regardless of sexual motivation or partner identity.

Code ↔ Paper

3 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

The 3 matches · 2 of them tie a paragraph to a whole file without given lines: weak matches, whose lines are not tinted
  1. [1] § STAR★METHODS › METHOD DETAILS › Odor-motivated unidirectional scent marking assay ↔ smufMakeEum.m, the whole file · a weak match · score 0.82 · bottom cut, urine detection, green channels, overlay, cameras, tracking · Report a mismatch
  2. [2] § STAR★METHODS › METHOD DETAILS › Odor-motivated unidirectional scent marking assay ↔ smufVideoToPixels.m, lines 30 to 82 · score 0.80 · bottom cut, urine detection, green channels, overlay, video, tracking · Report a mismatch
  3. [3] § STAR★METHODS › METHOD DETAILS › Conspecific-motivated bidirectional scent marking assay ↔ smufMakeEum.m, the whole file · a weak match · score 0.65 · green channel, urine spot, cropped, camera, cage, thresholding · 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 · 112 lines · 5 KB · GPL-3.0 · 2 matches

  1. function [eum] = smufMakeEum( filepath, mouseNum, cageMask )
  2. %% smufMakeEum: function to read in SMUF video frame and create End Urine Map (EUM)
  3. %
  4. % This function allows selection of ROIs to exclude from analysis (i.e. stimulus marks), since we do not spectrally or
  5. % otherwise separate tonic water or semale stimuli. It is possible to build a setup to always make these in the same place, and
  6. % thus automate this step, but it is also useful to have flexibility in where to pipette stimuli when an animal is moving
  7. % around. Running only this step on all videos first allows the more time-consuming urine detection across
  8. % all frames to be done unsupervised in batches.
  9. %
  10. % Author: Jason Keller
  11. % Date: June 2018
  12. %
  13. % please cite: Keller, Stowers et al, Nature Neuroscience, 2018
  14. %
  15. % INPUT:
  16. % [filepath]
  17. % [mouseNum]
  18. %
  19. % OUTPUT:
  20. % [eum] - mask with final urine spots to be counted, cropped; an overlay image is saved for simple quality control check
  21. %
  22. %% read video % select negative threshold to track mouse
  23. filename = [filepath, mouseNum, '.mp4']; %I used MP4 but any file format that VideoReader can handle is acceptable
  24. display(['making EUM, mouse ' mouseNum]);
  25. smufObj = VideoReader(filename);
  26. nFrames = smufObj.NumberOfFrames;
  27. % NOTE: parameters below must be updated in both "smufMakeEum" and "smufVideoToPixels"
  28. topCut = 5; %hard code to cut off black border for cropped video output (use makeMask.jpg to estimate)
  29. bottomCut = 350;
  30. leftCut = 24;
  31. rightCut = 590;
  32. vidHeight = bottomCut-topCut; %smufObj.Height;
  33. vidWidth = rightCut-leftCut; %smufObj.Width;
  34. % nTotalPixels = vidHeight*vidWidth;
  35. % frameRate = smufObj.FrameRate; %in fps;
  36. numFramesAvg = 3; %number of frames to avg; more is better for noise, less is better to capture last bit of urine
  37. %thresh parameters, depends on lighting and camera conditions:
  38. % NOTE: this should be updated to the same value both here and in smufVideoToPixels.m when changing conditions
  39. thresh = 175; %found using threshToolMod (needs uint8 input);
  40. %% Preallocate the movie matrix & read frames
  41. fullMov = zeros(vidHeight,vidWidth,3,numFramesAvg,'uint8'); %need full RGB saved to output results on top
  42. grMov = zeros(vidHeight,vidWidth,numFramesAvg,'uint8'); %use green + red channels since they have most information
  43. gPercent = 0.5; %red seems to counterbalance mouse shadow (light in green channel, dark in red channel)
  44. rPercent = 1 - gPercent;
  45. for k = 1:numFramesAvg %use last 3 frames for EUM; read one frame at a time:
  46. frameNum = nFrames-numFramesAvg+k;
  47. tempS = read(smufObj,frameNum);
  48. fullMov(:,:,:,k) = tempS(topCut:bottomCut-1, leftCut:rightCut-1,:); %read method returns a H-by-W-by-B-by-F matrix, video,where H is the image frame height, W isthe image frame width, B is the number of bandsin the image (for example, 3 for RGB), and F isthe number of frames read
  49. grMov(:,:,k) = squeeze(fullMov(:,:,1,k)*rPercent + fullMov(:,:,2,k)*gPercent);
  50. grMov(:,:,k) = imsharpen(grMov(:,:,k),'Radius',20,'Amount',3, 'Threshold', 0); %sharpen to accentuate urine edges; parameters found manually
  51. end
  52. % manually select exclusion pixels (e.g. stimulus, mouse, reflections)
  53. lastFrames = uint8(mean(grMov,numFramesAvg)); %use mean over time instead of max projection
  54. %% select exclusion spots
  55. hFig = figure;
  56. hIm = imagesc(lastFrames);
  57. axis off;
  58. set(gcf, 'Position', get(0,'Screensize')); % Maximize figure
  59. hDoneControl = uicontrol(hFig, 'Style', 'pushbutton', 'String', 'DONE',... %make button to press when done
  60. 'Callback', @doneCallback, 'Position', [50 50 100 20]); %#ok<NASGU>
  61. % User selects stimulus ROIs with mouse (or any other exclusion pixels):
  62. set(hFig, 'Name','Use mouse to circle urine exclusion areas, press DONE when finished');
  63. exitStim = false;
  64. exclude = logical(zeros(vidHeight,vidWidth)); %#ok<LOGL>
  65. while(~exitStim)
  66. hStimRoi = imfreehand(gca);
  67. exclude = exclude | createMask(hStimRoi,hIm); %OR the masks to combine
  68. end
  69. close(hFig);
  70. pause on; pause(0.1); pause off; %allow figure to close
  71. %% thresholding:
  72. % thresh = threshToolMod(lastFrames) %can uncomment here when first setting up
  73. BW = im2bw(lastFrames, thresh/255);
  74. eum = BW & cageMask(topCut:bottomCut-1, leftCut:rightCut-1) &~exclude;
  75. %% make overlay image for QC:
  76. urineDot = uint8([255 255 0]);
  77. overlay = zeros(vidHeight,vidWidth,'uint8');
  78. tempR = fullMov(:,:,1,end); %pull out current frame to allow linear indexing
  79. tempG = fullMov(:,:,2,end);
  80. tempB = fullMov(:,:,3,end);
  81. tempR(eum) = repmat(urineDot(1), length(find(eum)), 1); %set movie pixels for QC
  82. tempG(eum) = repmat(urineDot(2), length(find(eum)), 1);
  83. tempB(eum) = repmat(urineDot(3), length(find(eum)), 1);
  84. overlay(:,:,1) = tempR;
  85. overlay(:,:,2) = tempG;
  86. overlay(:,:,3) = tempB;
  87. figure; imagesc(overlay)
  88. filenameEum = [filepath, mouseNum, '_eumOverlay.jpg'];
  89. imwrite(overlay, filenameEum);
  90. %% callbacks
  91. function doneCallback(hObject, ~)
  92. delete(hObject);
  93. exitStim = true;
  94. end
  95. end %end function smufMakeEum

smufMakeEum.m at commit 83adab2, under GPL-3.0 · at the source

Overview

Authors: Sourish Mukhopadhyay1,2, Natalie Cole2, Pansée ElGhayati2,3, Anna Pallé2, Caitlin H. Miller2, David Melendez-Perdomo2,3, Jason A. Keller2, John P. Crimaldi4, Bard Ermentrout5, Lisa Stowers2,6
  1. Biomedical Sciences Graduate Program, Scripps Research, La Jolla, CA, USA
  2. Department of Neuroscience, Scripps Research, La Jolla, CA, USA
  3. University of California, San Diego, San Diego, CA, USA
  4. Department of Civil, Environmental & Architectural Engineering, University of Colorado, Boulder, CO, USA
  5. Department of Mathematics, University of Pittsburgh, Pittsburgh, PA, USA
  6. Lead contact
Institutions: Scripps Research Institute (United States); University of California San Diego (United States); University of Colorado Boulder (United States); University of Pittsburgh (United States)
Journal: Cell reports, volume 45, issue 6, article 117432
Dates: published online 22 May 2026; in print 23 June 2026
Type: Research article · Language: English
License: CC BY-NC
Identifiers: DOI 10.1016/j.celrep.2026.117432 · PMID 42176265 · PMCID PMC13505964 · OpenAlex W7162082538
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: mouse (organism), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Evoked potentials
Keywords: Sex hormones, Pheromones, Estrogen, Social behavior, Neuroscience, Sex behavior, Sexual Dimorphism, chemical communication, Urinary Function, Scent Marking, Social Communication, Urine Marking, Cp: Neuroscience, Barringtons Nucleus
MeSH: Animal Communication*, Motivation*, Pheromones*, Sexual Behavior, Animal*, Social Behavior*, Animals, Estrogen Receptor alpha, Female, Male, Mice, Mice, Inbred C57BL, Neurons, Odorants (* major topic)
Topic: Neuroendocrine regulation and behavior (Endocrine and Autonomic Systems, Neuroscience), according to OpenAlex
Funding: National Science Foundation (DBI 2014217, IOS1556085, 2014217); NIDCD NIH HHS (R01 DC015253); national science foundation graduate research fellowship program (/ CIHR / DFG / FRQ /); NINDS NIH HHS (R01 NS108439); National Science Foundation Division of Graduate Education (DGE-1144086); Fonds de recherche du Québec; National Institutes of Health; National Institute on Deafness and Other Communication Disorders (R01DC015253); Canadian Institutes of Health Research; Deutsche Forschungsgemeinschaft
Citations: cited by 1 paper (Europe PMC); 80 references in the paper
Research resources: Alexa Fluor 488 Goat anti-Rabbit RRID:AB_143165, Rabbit anti-GFP antibody RRID:AB_221569, Ethovision XT RRID:SCR_000441, MATLAB RRID:SCR_001622, Prism RRID:SCR_002798, After Effects RRID:SCR_010279

Abstract

Many species communicate via pheromone signals that orchestrate key social and survival behaviors. In laboratory assays, only male mice are observed to broadcast pheromones through urine scent marking. This has contributed to the view that males have specialized circuits and anatomy to intentionally transmit urine pheromones and actively participate in socio-chemical communication, while females remain mute recipients in laboratory settings. Here, we find that simple modifications to standard assays reveal exuberant urine marking by laboratory females, enabling reexamination of its dimorphic features. Chemogenetic inhibition of estrogen receptor-1-expressing (Esr1) neurons in Barrington’s nucleus confirms that both sexes rely on a similar mechanistic strategy necessary for urine marking. Moreover, we find that males and females mark toward a broad set of receivers, including reproductively incapable partners. Sex parity in urine marking reframes the understanding of voluntary chemo-communication function beyond a male-specific behavior to a broader social communication strategy engaged independent of sex or reproductive status.

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

Repository

Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.

stowerslab/smuf

License: GPL-3.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: 83adab2e6094a81a056123ce921f9cac0580ce90, 18 June 2018
Languages: MATLAB (9)
Size: 12 files, 9 scripts
Software Heritage: archived
Found in: “Data and code availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
11 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;
  • 9 scripts, each with its path and the digest of its content;
  • 3 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 and code availability

All data that support the findings of this study are available from the corresponding author upon reasonable request.

All analysis codes were previously made available47 and can be found online at github.com/stowerslab/smuf.

Any additional information required to reproduce results and reanalyze the data reported in this paper is available from the lead contact upon request.

Reproduced under the paper's license (CC BY-NC), 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 2, 28 September 2026

  • Publisher: n/a → Cell Press
  • Authors: added Lisa Stowers (0000-0002-4403-1269); removed Lisa Stowers

Version 1, 28 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 14 keywords, 13 MeSH terms, 10 funders, 69 references, 6 RRIDs.

Cite

This paper

Mukhopadhyay, S., Cole, N., ElGhayati, P., Pallé, A., Miller, C. H., Melendez-Perdomo, D., Keller, J. A., Crimaldi, J. P., Ermentrout, B., & Stowers, L. (2026). Male and female mice scent mark during social communication regardless of sexual motivation or partner identity. Cell reports, 45(6), 117432. https://doi.org/10.1016/j.celrep.2026.117432

BibTeX

@article{mukhopadhyay2026male,
author = {Mukhopadhyay, Sourish and Cole, Natalie and ElGhayati, Pansée and Pallé, Anna and Miller, Caitlin H. and Melendez-Perdomo, David and Keller, Jason A. and Crimaldi, John P. and Ermentrout, Bard and Stowers, Lisa},
title = {{Male and female mice scent mark during social communication regardless of sexual motivation or partner identity}},
journal = {Cell reports},
year = {2026},
month = may,
volume = {45},
number = {6},
pages = {117432},
publisher = {Cell Press},
issn = {2211-1247},
doi = {10.1016/j.celrep.2026.117432},
url = {https://doi.org/10.1016/j.celrep.2026.117432},
pmid = {42176265},
pmcid = {PMC13505964}
}

RIS

TY - JOUR
AU - Mukhopadhyay, Sourish
AU - Cole, Natalie
AU - ElGhayati, Pansée
AU - Pallé, Anna
AU - Miller, Caitlin H.
AU - Melendez-Perdomo, David
AU - Keller, Jason A.
AU - Crimaldi, John P.
AU - Ermentrout, Bard
AU - Stowers, Lisa
TI - Male and female mice scent mark during social communication regardless of sexual motivation or partner identity
T2 - Cell reports
J2 - Cell Rep
PY - 2026
DA - 2026/05/22
VL - 45
IS - 6
SP - 117432
SN - 2211-1247
PB - Cell Press
DO - 10.1016/j.celrep.2026.117432
UR - https://doi.org/10.1016/j.celrep.2026.117432
LA - en
ER -

CSL-JSON

{
"id": "10.1016/j.celrep.2026.117432",
"type": "article-journal",
"title": "Male and female mice scent mark during social communication regardless of sexual motivation or partner identity",
"container-title": "Cell reports",
"author": [
{
"family": "Mukhopadhyay",
"given": "Sourish"
},
{
"family": "Cole",
"given": "Natalie"
},
{
"family": "ElGhayati",
"given": "Pansée"
},
{
"family": "Pallé",
"given": "Anna"
},
{
"family": "Miller",
"given": "Caitlin H."
},
{
"family": "Melendez-Perdomo",
"given": "David"
},
{
"family": "Keller",
"given": "Jason A."
},
{
"family": "Crimaldi",
"given": "John P."
},
{
"family": "Ermentrout",
"given": "Bard"
},
{
"family": "Stowers",
"given": "Lisa"
}
],
"container-title-short": "Cell Rep",
"volume": "45",
"issue": "6",
"page": "117432",
"DOI": "10.1016/j.celrep.2026.117432",
"PMID": "42176265",
"PMCID": "PMC13505964",
"ISSN": "2211-1247",
"publisher": "Cell Press",
"URL": "https://doi.org/10.1016/j.celrep.2026.117432",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
22
]
]
}
}

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.7554/elife.97356
Molecular, cellular, and developmental organization of the mouse vomeronasal organ at single cell resolution.
Journal: eLife
In common: mouse, cellular / molecular, 9 references
[2] doi:10.1007/s00441-022-03707-9
Sex steroid hormone synthesis, metabolism, and the effects on the mammalian olfactory system.
Journal: Cell and tissue research
In common: mouse, cellular / molecular, 9 references
[3] doi:10.7554/elife.103959 [code]
Representation of male features in the female mouse accessory olfactory bulb, and their stability during the estrus cycle.
Journal: eLife
In common: Statistics and Machine Learning Toolbox, mouse, 8 references
[4] doi:10.7554/elife.103224 [code]
Brainstem neurons coordinate the bladder and urethral sphincter for urination.
Journal: eLife
In common: Statistics and Machine Learning Toolbox, mouse, cellular / molecular, 7 references
[5] doi:10.1016/j.crmeth.2025.101216 [code]
Combinatorial responsiveness of chemosensory neurons in mouse explants revealed by DynamicNeuroTracker.
Journal: Cell reports methods
In common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse, 5 references
[6] doi:10.1016/j.cub.2023.02.039 [code]
Sex-dependent control of pheromones on social organization within groups of wild house mice.
Journal: Current biology : CB
In common: mouse, 6 references
[7] doi:10.1371/journal.pbio.3002442 [code]
A chemical signal in human female tears lowers aggression in males.
Journal: PLoS biology
In common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, cellular / molecular, 4 references
[8] doi:10.1073/pnas.2528466123
Cnpy1 is a candidate endoplasmic reticulum chaperone of vomeronasal type 2 GPCRs.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: mouse, cellular / molecular, 5 references
[9] doi:10.7717/peerj.17398 [code]
Automated identification and segmentation of urine spots based on deep-learning.
Journal: PeerJ
In common: mouse, 5 references
[10] doi:10.7554/elife.77259
Sociosexual behavior requires both activating and repressive roles of <i>Tfap2e/</i>AP-2ε in vomeronasal sensory neurons.
Journal: eLife
In common: mouse, cellular / molecular, 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.1016/j.celrep.2026.117432.svg)](https://openscicode.org/badge/doi/10.1016/j.celrep.2026.117432)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1016/j.celrep.2026.117432.svg
   :target: https://openscicode.org/badge/doi/10.1016/j.celrep.2026.117432
   :alt: OSCR

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

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.