OSCR

A behavioral architecture for realistic simulations of <i>Drosophila</i> larva locomotion and foraging.

Overview

  1. Computational Systems Neuroscience, University of Cologne Cologne Germany
Institutions: University of Cologne (Germany)
Journal: eLife, volume 14, article RP104262
Dates: published online 17 August 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.7554/elife.104262 · PMID 42605607 · PMCID PMC13480992 · OpenAlex W4409325588
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: computational modeling (no new data) (modality), drosophila (organism), computational (subfield)
Methods: Spectral & time-frequency
Keywords: foraging, agent-based, modular architecture, olfaction, larva, D. melanogaster
MeSH: Drosophila*, Drosophila melanogaster*, Feeding Behavior*, Locomotion*, Animals, Biomechanical Phenomena, Chemotaxis, Computer Simulation, Larva, Models, Biological (* major topic)
Journal subjects: Neuroscience
Topic: Neurobiology and Insect Physiology Research (Cellular and Molecular Neuroscience, Neuroscience), according to OpenAlex
Funding: Ministry of Culture and Science of the state of North Rhine-Westphalia (iBehave network); Deutsche Forschungsgemeinschaft (DFG-FOR 2705 grant no. 365082554, DFG-RTG 1960 grant no. 233886668)
Citations: cited by 1 paper (Europe PMC); 95 references in the paper

Abstract

The Drosophila larva is extensively used as a model organism in neuroethological studies where precise behavioral tracking enables the statistical analysis of individual and population-level behavioral metrics that can inform mathematical models of larval behavior. Here, we propose a hierarchical model architecture comprising three layers to facilitate modular model construction, closed-loop simulations, and direct comparisons between empirical and simulated data. At the motor layer, the autonomous locomotory model is capable of performing exploration. Based on novel kinematic analyses, our model features intermittent forward crawling that is phasically coupled to lateral bending. At the second layer, navigation is achieved via active sensing in a simulated environment, and top-down modulation of locomotion. At the top layer, behavioral adaptation entails associative learning. We evaluate virtual larval behavior across agent-based simulations of autonomous free exploration, chemotaxis, and odor preference testing. Our behavioral architecture is ideally suited for the modular combination of neuromechanical, neural, or mere statistical model components, facilitating their evaluation, comparison, extension, and integration into multifunctional control architectures.

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

Code

No file of the authors' code could be read here: it is described below, and read at its source.

larvaworld.readthedocs.io

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: “Software package and code 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)

Software package and code availability

All data processing, analysis, and model simulations were performed using our open-source Python package Larvaworld (https://pypi.org/project/larvaworld/), a unified platform for behavioral analysis and simulation of Drosophila larvae. In Larvaworld, empirical and simulated data are handled identically: the same analysis pipeline and behavioral metrics are applied to both, ensuring methodological consistency throughout.

The behavioral architecture introduced in this manuscript provides the backbone for constructing, extending, configuring, and fitting behavioral models within Larvaworld. The intermittent coupled-oscillator model developed here is included, alongside other preconfigured models.

A separate publication describes the software architecture and usage in detail and provides practical tutorials for science and teaching (Sakagiannis et al., 2025). Comprehensive documentation is available at https://larvaworld.readthedocs.io.

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

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

The current manuscript is a computational study, so no data have been generated for this manuscript. Data analysis, behavioral modeling, and simulations have been carried out using the larvaworld Python package: https://pypi.org/project/larvaworld/.

The following previously published dataset was used:

ThoenerJ SchleyerM 2021Locomotion of naive Drosophila larvaeGIN10.12751/g-node.5e1ifd

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, 3 authors, 6 keywords, 10 MeSH terms, 2 funders, 94 references.

Cite

This paper

Sakagiannis, P. P., Jürgensen, A.-M., & Nawrot, M. P. (2026). A behavioral architecture for realistic simulations of <i>Drosophila</i> larva locomotion and foraging. eLife, 14, RP104262. https://doi.org/10.7554/elife.104262

BibTeX

@article{sakagiannis2026behavioral,
author = {Sakagiannis, Panagiotis Parthenios and Jürgensen, Anna-Maria and Nawrot, Martin Paul},
title = {{A behavioral architecture for realistic simulations of \<i\>Drosophila\</i\> larva locomotion and foraging}},
journal = {eLife},
year = {2026},
month = aug,
volume = {14},
pages = {RP104262},
publisher = {eLife Sciences Publications, Ltd},
issn = {2050-084X},
doi = {10.7554/elife.104262},
url = {https://doi.org/10.7554/elife.104262},
pmid = {42605607},
pmcid = {PMC13480992}
}

RIS

TY - JOUR
AU - Sakagiannis, Panagiotis Parthenios
AU - Jürgensen, Anna-Maria
AU - Nawrot, Martin Paul
TI - A behavioral architecture for realistic simulations of <i>Drosophila</i> larva locomotion and foraging
T2 - eLife
J2 - Elife
PY - 2026
DA - 2026/08/17
VL - 14
SP - RP104262
SN - 2050-084X
PB - eLife Sciences Publications, Ltd
DO - 10.7554/elife.104262
UR - https://doi.org/10.7554/elife.104262
LA - en
ER -

CSL-JSON

{
"id": "10.7554/elife.104262",
"type": "article-journal",
"title": "A behavioral architecture for realistic simulations of <i>Drosophila</i> larva locomotion and foraging",
"container-title": "eLife",
"author": [
{
"family": "Sakagiannis",
"given": "Panagiotis Parthenios"
},
{
"family": "Jürgensen",
"given": "Anna-Maria"
},
{
"family": "Nawrot",
"given": "Martin Paul"
}
],
"container-title-short": "Elife",
"volume": "14",
"page": "RP104262",
"DOI": "10.7554/elife.104262",
"PMID": "42605607",
"PMCID": "PMC13480992",
"ISSN": "2050-084X",
"publisher": "eLife Sciences Publications, Ltd",
"URL": "https://doi.org/10.7554/elife.104262",
"language": "en",
"issued": {
"date-parts": [
[
2026,
8,
17
]
]
}
}

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/s41586-026-10735-w [code]
Distributed control circuits across a brain-and-cord connectome.
Journal: Nature
In common: drosophila, 6 references
[2] doi:10.1038/s41467-026-72710-3 [code]
A modular multi-color fluorescence microscope for simultaneous tracking of cellular activity and behavior.
Journal: Nature communications
In common: drosophila, 5 references
[3] doi:10.1126/sciadv.aef7492
Real-time, cross-modal genotype mapping of free-moving <i>Drosophila</i> larvae via simultaneous mechano-electrophysiological recording.
Journal: Science advances
In common: drosophila, 2 references
[4] doi:10.1038/s41593-026-02381-2 [code]
Creating true and false memories from forgotten information in Drosophila.
Journal: Nature neuroscience
In common: drosophila, 2 references
[5] doi:10.7554/elife.96084 [code]
Organization of circuits linking descending input to motor output in the <i>Drosophila</i> Male Adult Nerve Cord connectome.
Journal: eLife
In common: drosophila, 2 references
[6] doi:10.1016/j.isci.2026.117359 [code]
Connectomic mapping of pharyngeal and gut sensory circuits in adult <i>Drosophila</i>.
Journal: iScience
In common: drosophila, 2 references
[7] doi:10.1126/sciadv.aec4153
An octopamine-glutamate cotransmitting neuron gates aggressive escalation through layered inhibition in <i>Drosophila</i>.
Journal: Science advances
In common: drosophila, 1 reference
[8] doi:10.1371/journal.pbio.3003959 [code]
Recurrent synapses between CO2-sensitive olfactory sensory neurons enable robust CO2 detection in Aedes aegypti mosquitoes.
Journal: PLoS biology
In common: drosophila, 1 reference
[9] doi:10.1007/s12021-026-09795-0 [code]
Temporal Topology Provides an Interpretable Framework for Neuronal Morphogenesis.
Journal: Neuroinformatics
In common: drosophila, 1 reference
[10] doi:10.7554/elife.105710 [code]
Neuropeptidergic circuit modulation of developmental sleep in <i>Drosophila</i>.
Journal: eLife
In common: drosophila, 1 reference

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.