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, not to 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
  2. [2] § STAR★METHODS › METHOD DETAILS › Odor-motivated unidirectional scent marking assay ↔ smufVideoToPixels.m, lines 30–82 · score 0.80 · bottom cut, urine detection, green channels, overlay, video, tracking
  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

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 · 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
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 (Social Psychology, Psychology), 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.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
[2] doi:10.1038/s41467-026-75347-4 [code]
Sleep reveals dynamics integrating and segregating movement and stimulus representations in V1.
Journal: Nature communications
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[3] 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 reports
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[4] doi:10.1371/journal.pbio.3003831 [code]
Disinhibitory signaling enables flexible coding of top-down information in cortical networks.
Journal: PLoS biology
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[5] doi:10.1016/j.crmeth.2026.101472 [code]
Rapid neuronal labeling and functional imaging in the developing mouse brain with AAV-PHP.eB.
Journal: Cell reports methods
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[6] doi:10.1523/eneuro.0417-25.2026 [code]
Learning and Motivation State Fluctuations from Motoric and Neurophysiologic Metrics during a Somatosensory Task in Mice.
Journal: eNeuro
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[7] doi:10.1038/s41467-026-73106-z [code]
Respiratory pauses highlight sleep architecture in mice.
Journal: Nature communications
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[8] doi:10.1016/j.neuron.2026.03.034 [code]
Dentate gyrus interneurons modulate winner-take-all network dynamics in freely behaving mice.
Journal: Neuron
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox, mouse
[9] doi:10.7554/elife.110795 [code]
REM sleep prefrontal high-frequency oscillation chains mediate distinct cortical - hippocampal reactivation patterns compared to NREM sleep.
Journal: eLife
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox
[10] doi:10.1093/sleep/zsag168 [code]
Deltas' and spindles' cross-area synchronization and ripple subtypes.
Journal: Sleep
In common: boundedline, Image Processing Toolbox, Statistics and Machine Learning Toolbox

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.

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: 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.