Skip to content

pedgomgal1/Chemotaxis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chemotaxis analysis for Drosophila Larvae

This repository contains Matlab and Python [in progress] code for analysing navigation-related parameters in Drosophila larvae, specifically focusing on measuring navigation index, larvae orientation, speed, acceleration, and classifying behavioural events such as run, stop, turn, cast, among others.

Introduction

Drosophila larvae exhibit chemotactic behaviours, navigating in response to chemical stimuli. This repository provides tools to extract and analyse movement patterns of larvae in the presence and absence of an odorant (e.g. ethyl acetate as attractive odour). Our goal is to compare in an objective way, how mutant Drosophila larvae (e.g. Parkinson's disease larva models, or other neurodegenerative models), have impaired their behavioural natural responses in navigation and chemotaxis, by evaluating their motor and decision making abilities. The experimental procedure was designed as follows: 1. WT and mutant Drosophila larvae are synchronised and rinsed in equal conditions, same food, same humidity, same age, same incubator and light/darkness periods. 2. Groups of 30-45 larvae per genotype are gently separated from food and cleaned with water in synchronised timepoint. We worked with ~48h old larvae, i.e. late L1 - early L2 instar larva. 3. Straight away, we place the larvae in the center of an square arena (20x20 cm^2). This arena is basically a plastic-made plate filled with 3% agar. This plate, is covered with a transparent lid where at the left side we place 4 equidistant odour patches (same size, same odour concentration). 4. This arena is placed in a behavioural rig, in controlled conditions of temperature, humidity and light (complete darkness), composed by a high-quality camera and IR-light illumination (invisible for larvae). 5. Inmediately, We start the larvae tracking by using the software MultiWormTracker (MWT, https://github.com/ZlaticLab/MWT). 6. MWT outputs are processed through Choreography software, giving us as output a set of files: X and Y coordinates of the larvae center of mass, speed, curvature, outlines, spine, etc. 7. These files are taken as input for our software, and analysed, giving as output a set of motor and navigation properties. Always analysing the larvae behaviour in a sense of group because individual larva tracking is very challenging and usually resulting in misinterpretation of the results because of tracking failures.

Experimental Setup

In odorant experiments, four odor patches are strategically placed on the left side of an agar plate (20x20 cm). Larvae are initially placed approximately in the center of the agar plates. The movement of larvae is recorded over time, capturing their responses to the odorant cues.

Features

  • Speed Analysis: Calculate the speed of larval movement over time.
  • Acceleration Measurement: Determine the acceleration profile of larvae during navigation.
  • Navigation Index: Quantify the directionality and efficiency of larval movement towards or away from the odor source.
  • Behavior Classification: Classify larval behaviors such as run, stop, turn, cast, etc., based on movement patterns.

Usage

  1. Data Collection: Record larval movement videos in the presence and absence of ethyl acetate odorant.
  2. Data Preprocessing: Prepare the recorded videos for analysis, ensuring proper frame rate and resolution.
  3. Code Execution: Run the provided scripts to analyze the movement parameters and behaviors.
  4. Data Visualization: Visualize the results using built-in visualization tools or export data for custom analysis.

Getting Started

To get started with using this repository, follow these steps:

  1. Clone this repository to your local machine.
  2. Install the required dependencies (listed in requirements.txt).
  3. Refer to the provided documentation for detailed instructions on data preparation and analysis.
  4. Run the provided example scripts to understand the workflow and customize for your experiments.

Examples

Example Image 1

Figure 1: Trajectory of Drosophila larva in the presence of ethyl acetate odorant.

Example Image 2

Figure 2: Trajectory of Drosophila larva without any odour stimulus.

Contributing

Contributions to this repository are welcome! If you have suggestions for improvement, new features to add, or bug fixes, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgments

This work was depeloved at the MRC LMB in Cambridge (UK) under the supervision and guidance of A.Cardona and M.Zlatic groups.

Contact

[email protected].

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages