The olfactory receptor SNIF-1 mediates foraging for leucine-enriched diets in <i>C. elegans</i>.
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 · 79 lines · 2.6 KB · no license
- clc; clear all; close all;
- %% location C:\';
- loc = [''];
- border = 110;
- IMthresh = 1.020; % 1.0-1.1
- %% Video export location
- v = VideoReader(loc);
- NumberFrame = v.NumFrames;
- newFileLoc = strcat(loc(1:end-4),'_tracking.avi');
- newFileLoc2 = strcat(loc(1:end-4),'_CropVideo.avi');
- v2 = VideoWriter(newFileLoc,'Motion JPEG AVI');
- v3 = VideoWriter(newFileLoc2,'Motion JPEG AVI');
- v2.Quality = 95;
- v3.Quality = 95;
- open(v2);
- open(v3);
- for i = 1:NumberFrame
- %% read frames
- frame = read(v,i);
- currentimage = im2double(rgb2gray(frame));
- if i == 1
- %% crop extra part
- [l,B] = size(currentimage);
- % currentimage = imcrop(currentimage,[1,40,B,1-40]);
- im56 = imbinarize(currentimage,0.09); % chage here if not working
- im56_BW = bwareaopen(im56,500);
- im56_BW_fil = imfill(im56_BW,'holes');
- % big blob identification
- [labeledImage, numberOfBlobs] = bwlabel(im56_BW_fil);
- blobMeasurements = regionprops(labeledImage, 'area');
- % Get all the areas
- allAreas = [blobMeasurements.Area];
- [sortedAreas, sortIndexes] = sort(allAreas, 'descend');
- biggestBlob = ismember(labeledImage, sortIndexes(1:1));
- % Convert from integer labeled image into binary (logical) image.
- binaryImage = biggestBlob > 0;
- stats = regionprops(binaryImage,'Centroid','MajorAxisLength','MinorAxisLength');
- centers = stats.Centroid;
- Center_X = floor(centers(1));
- Center_y = round(centers(2));
- radii = round((stats.MajorAxisLength+stats.MinorAxisLength)*0.25)- border;
- theta = linspace(0, 2*pi, round(4*pi*radii)); % Define angles
- % Get x and y vectors for each point along the circumference.
- x = radii * cos(theta) + Center_X;
- y = radii * sin(theta) + Center_y;
- myImage = zeros(size(currentimage));
- for k = 1:length(x)
- row = round(y(k));
- col = round(x(k));
- myImage(row, col) = 1;
- end
- myImage_BW_fil = imfill(myImage,'holes');
- end
- Final_image = currentimage.*myImage_BW_fil;
- I = imcrop(Final_image,[Center_X-radii,Center_y-radii,radii*2,radii*2]);
- %% noise reduction
- se = strel('disk',10);
- Io = imopen(I,se);
- Ie = imerode(I,se);
- Iobr = imreconstruct(Ie,I);
- Ioc = imclose(Io,se);
- Iobrd = imdilate(Iobr,se);
- Iobrcbr = imreconstruct(imcomplement(Iobrd),imcomplement(Iobr));
- I45 = I + Iobrcbr;
- fgm = I45>IMthresh;
- fgm3 = im2double(bwareaopen(fgm,5));
- writeVideo(v2,fgm3);
- writeVideo(v3,I)
- % imshow(fgm3,[]);
- % pause(0.1);
- end
- close(v2);
- close(v3);
Supplementary File 6.m, no license · at the source
Overview
- Division of Molecular Microbiology, School of Life Sciences, University of Dundee, Dundee, United Kingdom
- Department of Developmental Biology and Genetics, Indian Institute of Science, Bangalore, India
- Institute of Biology of the Ecole Normale Supérieure, Paris, France
- Department of Molecular Biology, Umeå University, Umeå, Sweden
Abstract
Acquisition of essential nutrients through diet is crucial for the survival of animals. Dietary odors might enable animals to forage for nutrient-rich diets. We asked if Caenorhabditis elegans, a bacterivorous nematode, uses olfactory cues to forage for essential amino acid-rich (EAA) diets. Using the native microbiota of C. elegans, we show that worms rely on olfaction to select leucine (EAA)-supplemented bacteria. Using gas chromatography, we find that leucine-supplemented bacteria produce isoamyl alcohol (IAA) odor in the highest abundance. Prior adaptation of worms to IAA diminishes the diet preference of worms. Several wild isolates of C. elegans display robust responses to IAA, emphasizing its ecological relevance. We find that foraging for a leucine-supplemented diet is mediated via the AWC olfactory neurons. Finally, we identify SNIF-1 G protein-coupled receptor in AWC neurons as a receptor for IAA and a mediator of dietary decisions in worms. Our study identifies a receptor-ligand module underpinning foraging behavior in C. elegans.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above.
supp:PMC13108967/elife-101936-code1.zip
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
- 30 September 2026: the link answers (HTTP 200)
1 file
- eLife-VOR-RA-2024-101936
/ , MATLAB, 79 linesSupplementary File 6.m
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;
- 1 script, 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
Source data has been provided.
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, 30 September 2026: the first record
Recorded: type, language, journal, volume, pages, dates, 6 authors, 1 keyword, 10 MeSH terms, 3 funders, 98 references.
Cite
This paper
Siddiqui, R., Mehta, N., Ranjith, G., Félix, M.-A., Chen, C., & Singh, V. (2026). The olfactory receptor SNIF-1 mediates foraging for leucine-enriched diets in &
BibTeX
@article{siddiqui2026olf
author = {Siddiqui, Ritika and Mehta, Nikita and Ranjith, Gopika and Félix, Marie-Anne and Chen, Changchun and Singh, Varsha},
title = {{The olfactory receptor SNIF-1 mediates foraging for leucine-enriched diets in \&
journal = {eLife},
year = {2026},
month = apr,
volume = {13},
pages = {RP101936},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/
url = {https://
pmid = {42029136},
pmcid = {PMC13108967}
}
RIS
TY - JOUR
AU - Siddiqui, Ritika
AU - Mehta, Nikita
AU - Ranjith, Gopika
AU - Félix, Marie-Anne
AU - Chen, Changchun
AU - Singh, Varsha
TI - The olfactory receptor SNIF-1 mediates foraging for leucine-enriched diets in &
T2 - eLife
J2 - Elife
PY - 2026
DA - 2026/
VL - 13
SP - RP101936
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.7554/
"type": "article-journal",
"title": "The olfactory receptor SNIF-1 mediates foraging for leucine-enriched diets in &
"container-title": "eLife",
"author": [
{
"family": "Siddiqui",
"given": "Ritika"
},
{
"family": "Mehta",
"given": "Nikita"
},
{
"family": "Ranjith",
"given": "Gopika"
},
{
"family": "Félix",
"given": "Marie-Anne"
},
{
"family": "Chen",
"given": "Changchun"
},
{
"family": "Singh",
"given": "Varsha"
}
],
"container-title-short":
"volume": "13",
"page": "RP101936",
"DOI": "10.7554/
"PMID": "42029136",
"PMCID": "PMC13108967",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
24
]
]
}
}
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.1126/sciadv.ade1249 [code]
- Functional imaging and quantification of multineuronal olfactory responses in <i>C. elegans</
i>. Journal: Science advancesIn common: Image Processing Toolbox, C. elegans, cellular / molecular, 7 references - [2] doi:10.1371/journal.pbio.3001677 [code]
- Context-dependent reversal of odorant preference is driven by inversion of the response in a single sensory neuron type.Journal: PLoS biologyIn common: C. elegans, cellular / molecular, 7 references
- [3] doi:10.1371/journal.pgen.1010029
- Redundant neural circuits regulate olfactory integration.Journal: PLoS geneticsIn common: C. elegans, cellular / molecular, 7 references
- [4] doi:10.7554/elife.103796 [code]
- Evolution of lateralized gustation in nematodes.Journal: eLifeIn common: C. elegans, cellular / molecular, 7 references
- [5] doi:10.7554/elife.79557 [code]
- Diverse states and stimuli tune olfactory receptor expression levels to modulate food-seeking behavior.Journal: eLifeIn common: C. elegans, cellular / molecular, 6 references
- [6] doi:10.7554/elife.88657 [code]
- Sensory neurons couple arousal and foraging decisions in &
lt;i& gt;Caenorhabditis elegans& lt;/ i& gt;. Journal: eLifeIn common: Image Processing Toolbox, C. elegans, cellular / molecular, 5 references - [7] doi:10.7554/elife.92964 [code]
- Avoidance of hydrogen sulfide is modulated by external and internal states in &
lt;i& gt;Caenorhabditis elegans& lt;/ i& gt;. Journal: eLifeIn common: Image Processing Toolbox, C. elegans, cellular / molecular, 1 reference, author Changchun Chen - [8] doi:10.1371/journal.pbio.3001684 [code]
- ROS and cGMP signaling modulate persistent escape from hypoxia in Caenorhabditis elegans.Journal: PLoS biologyIn common: Image Processing Toolbox, C. elegans, cellular / molecular, 1 reference, author Changchun Chen
- [9] doi:10.15252/msb.202110514 [code]
- A negative feedback loop in the GPCR pathway underlies efficient coding of external stimuli.Journal: Molecular systems biologyIn common: C. elegans, cellular / molecular, 5 references
- [10] doi:10.1371/journal.pbio.3003005 [code]
- Navigation strategies in Caenorhabditis elegans are differentially altered by learning.Journal: PLoS biologyIn common: Image Processing Toolbox, C. elegans, 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.
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, 1 script, and 0 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:b6d32bb430f7da55…
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.7554/elife.101936)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.7554/elife.101936.svg
:target: https://openscicode.org/badge/doi/10.7554/elife.101936
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.7554/elife.101936"><img src="https://openscicode.org/badge/doi/10.7554/elife.101936.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.
