Posts By Giorgio

Video tracking and analysis of sleep in Drosophila melanogaster

Nat Protoc. 2012 Apr 26;7(5):995-1007.
Video tracking and analysis of sleep in Drosophila melanogaster.
Giorgio F. Gilestro

In the past decade, Drosophila has emerged as an ideal model organism for studying the genetic components of sleep as well as its regulation and functions. In fruit flies, sleep can be conveniently estimated by measuring the locomotor activity of the flies using techniques and instruments adapted from the field of circadian behavior. However, proper analysis of sleep requires degrees of spatial and temporal resolution higher than is needed by circadian scientists, as well as different algorithms and software for data analysis. Here I describe how to perform sleep experiments in flies using techniques and software (pySolo and pySolo-Video) previously developed in my laboratory. I focus on computer-assisted video tracking to monitor fly activity. I explain how to plan a sleep analysis experiment that covers the basic aspects of sleep, how to prepare the necessary equipment and how to analyze the data. By using this protocol, a typical sleep analysis experiment can be completed in 5-7 d.

Go to pubmedDownload paper as PDF

pyREM: a crowd trained machine learning approach to automatic analysis of EEG data

pyREM: a crowd trained machine learning approach to automatic analysis of EEG data
Quentin Geissmann, and Giorgio F Gilestro

EEG data are at the basis of a plethora of neuroscientific questions: from sleep to consciousness and attention, many aspects of neuroscience heavily rely on electrophysiological correlates of brain activity. Yet, EEG analysis heavily relies on subjective scoring and interpretation to the point that many neuroscientists consider it an art, more than a systematic tool.
Can we teach this art to a computer?
Attempts at creating an objective way of scoring EEG data have been less than perfect so far, mainly because humans are reluctant about trusting the judgement of a machine, programmed according to hard-coded values and thresholds.

pyREM aims at solving this issue, using a machine learning approach to automatically analyse EEG data. pyREM learns how to classify EEG directly from humans, mimicking all the human’s principles and criteria without any apriori knowledge of what an EEG means. The overall goal of the project is to teach pyREM how 1, 10, 100 or 1000 laboratories score EEG so that the software will be able to automatically grasp and isolate the key fundamental criteria and become, in this way, the universal scorer.

If you are a laboratory interested in being part of this, please get in touch.

If you want to know more, you can

Ethoscopes: An Open Platform For High-Throughput Ethomics

PLOS Biology, 19 Oct 2017; 15(10): e2003026
Ethoscopes: An Open Platform For High-Throughput Ethomics
Quentin Geissmann, Luis Garcia Rodriguez, Esteban J. Beckwith, Alice S. French, Arian R Jamasb, and Giorgio F Gilestro

We present ethoscopes, machines for high-throughput analysis of behaviour in Drosophila and other animals. Ethoscopes provide a software and hardware solution that is reproducible and easily scalable. They perform, in real-time, tracking and profiling of behaviour using a supervised machine learning algorithm; can deliver behaviourally-triggered stimuli to flies in a feedback-loop mode; are highly customisable and open source. Ethoscopes can be built easily using 3D printing technology and rely on Raspberry Pi microcomputers and Arduino boards to provide affordable and flexible hardware. All software and construction specifications are available at http://lab.gilest.ro/ethoscope.

Online paper on PLoS Biology

Supplementary material.

Supplementary material 1 – webGL model of the ethoscope.
Supplementary material 2 – instruction booklet for the LEGOscope.
Supplementary material 3 – instruction booklet for the PAPERscope.
Supplementary Video 1 – Introduction to the ethoscope platform.
Supplementary Video 2 – The optogenetics component of the optomotor in action.

Featured in:

Regulation of sleep homeostasis by sexual arousal

Why we sleep remains an unresolved mystery of biology. Why do humans have to spend one-third of their lifetime in a status of profound unconsciousness which leaves them vulnerable and endangered? What do we gain from it? We still do not possess an answer to this question but we assume that it must be something tremendously important, also considered that sleep appears to be a necessity not just in humans but in all animals – including fruit flies. A particularly intriguing evolutionary conserved feature of sleep is what we call “sleep homeostasis”, that is: the innate modulation of sleep pressure based on previous sleep amount. If we have a good long nap, we may have a harder time falling asleep at night; conversely, if we pull an all-nighter partying on Sunday night, we are going to have a hard time at the office on the following morning. That is sleep homeostasis.

Is sleep homeostasis an unmodifiable, sovereign need in the animal or can it somehow be suppressed? Previous studies showed that migratory birds may be able to resist the temptation to sleep while flying above the ocean. Similarly, male pectoral sandpipers, a type of Arctic bird, can forego sleep in favour of courtship during the three weeks time window of female fertility. Could we find a similar behaviour in a genetically amenable animal model, like fruit flies?

In a “blind date” experiment, we forced interaction in a restricted space between socially naive, young, male fruit flies and receptive females. The interaction between the two led to an uninterrupted passionate courtship lasting the entire 24 hour period (and to one – and, in some cases, more – events of copulations). Surprisingly, not only did male flies forego sleep when prompted with a receptive female counterpart, but they also suppressed their natural sleep homeostasis and never recovered from the sleep lost courting. In the second set of experiments, we forcefully kept flies awake by employing robots that would automatically disturb the flies whenever they would fall asleep. At the end of the sleep deprivation treatment, flies would normally recover the lost sleep by having an extra nap. However, raising the sexual arousal of male flies by simply exposing them to the female pheromone, abolished their homeostatic need.

Ours is a study on the fundamental biological underpinnings of sleep. Our goal is to show that sleep is not a disconnected, uncontrollable phenomenon but a biological drive that can, in some conditions, be overcome. The study is particularly directed at other researchers and provides an important caveat not to be forgotten when conducting sleep experiments: it is possible to create an internal state in the animal that will heavily affect sleep regulation, without interfering with sleep regulatory circuits. A researcher may be artificially activating neurons that make an animal stressed, anxious, angered, or in love and all of these neurons will ultimately have an effect on sleep. Yet, they shall not be classified directly as “sleep neurons” or we will end up with a false map of where sleep neurons really are.


eLife 2017 Sep 12;6;e27445
Regulation of sleep homeostasis by sexual arousal
Esteban J. Beckwith, Quentin Geissmann, Alice S. French, and Giorgio F. Gilestro

Online published paper

Supplementary Material

Interactive supplementary videos
Supplementary movies as raw dataset DOI

Featured in:

eLife insight: Sleep: To rebound or not to rebound — Stahl BA, Keene AC

Regulation of sleep homeostasis by sex pheromones – Supplementary videos

Video tracking and analysis of sleep in Drosophila melanogaster

Nat Protoc. 2012 Apr 26;7(5):995-1007.
Video tracking and analysis of sleep in Drosophila melanogaster.
Gilestro GF.

In the past decade, Drosophila has emerged as an ideal model organism for studying the genetic components of sleep as well as its regulation and functions. In fruit flies, sleep can be conveniently estimated by measuring the locomotor activity of the flies using techniques and instruments adapted from the field of circadian behavior. However, proper analysis of sleep requires degrees of spatial and temporal resolution higher than is needed by circadian scientists, as well as different algorithms and software for data analysis. Here I describe how to perform sleep experiments in flies using techniques and software (pySolo and pySolo-Video) previously developed in my laboratory. I focus on computer-assisted video tracking to monitor fly activity. I explain how to plan a sleep analysis experiment that covers the basic aspects of sleep, how to prepare the necessary equipment and how to analyze the data. By using this protocol, a typical sleep analysis experiment can be completed in 5-7 d.
Go to pubmedDownload PDFlink to the website

Automatic detection and analysis of animal behaviour

Description
Even simple animals, like fruitflies or worms, can make complex decisions, for instance when they interact with predators, possible sex mates or explore food sources. Ethomics is a new discipline of neuroscience, attempting automatic and high-throughput analysis of animal behaviour, and investigating correlations and links to explore how genes drive behaviour. The purpose of this project is to create state of the art techniques of computer vision and machine learning to track animals activity and link them to stereotypical behaviours. Ultimately, we aim at building a system that can recognize animals status or intention and interfere with them using for instance laser or mechanical stimulations.

In particular, an initial application of the machine will be to create a new paradigm to study the links between sleep and learning in Drosophila. This new tool will be used for automatized sleep deprivation and learning conditioning. In the past, we created a software to track Drosophila locomotor activity and analyse sleep. The system, released as open source, is highly scalable, offers high resolution, it is affordable and easy to use (www.pysolo.net). With this project, we aim at expanding the existing system so that it would no longer be limited to passive detection of flies activity, but could actively interact with a group of animals, shining a heat-transducing infrared laser beam onto single flies whenever specific conditions are satisfied.

Project timeline.
Data analysis, computer vision, machine learning, component.
Techniques used: mathematics and statistics applied to data analysis and computer science

  1. The existing software is already able to track the animals position in real time and it would need to use this information to direct one or more IR laser diodes connected to motors. However, it will be necessary to modify the video tracking to recognize multiple interacting flies with higher precision and target only those that satisfy predefined conditions . This part will be done in collaboration with Dr. Stefanos Zafeiriou of the computing department at Imperial College.
  2. In particular, the software will be modified so that “conditions for shooting” will easily be programmed by the researcher. Also, the software should be able to recognize and output a complete data frame regarding the previous, current and predicted conditions of each flies. This will achieved using machine learning algorithms to identify stereotypic behaviours and act accordingly.

Building and testing the hardware component.
Techniques used: principle of electronics, basic physics of lasers

  1. Once flies are successfully tracked and conditions established, the software will interact with a motor controller to aim and shoot one or more laser diodes onto single flies
  2. Laser pulses will have to be theoretically selected and empirically calibrated for wavelength, power and duration, to use them as sleep deprivators or for learning conditioning
  3. Final protocols will be established for the different possible uses of the machine that will combine part 1 and part 2 of the project

Additional material and links.

  • Perona’s and Dickinson’s software for automated fly behaviour is found at this address and described in this paper.
  • Another software, again from Perona, is described here.
  • A software for ant tracking can be found here, and here are some samples of how it performs.
  • A sample of my flies moving in a vial (~15 minutes video at VGA resolution) can be found here
  • Other sample movies from the ctrax project can be found here and here

Funding.

This project is funded by a Royal Society research grant.

Ethanol and sleep

Background
Ethanol is an evolutionary conserved neuromodulating agent, effective in mammals as it is in invertebrates. The fruitfly Drosophila melanogaster responds to ethanol with all the stereotypical signs that are also observed in humans: including euphoria, sedation, habituation and addiction (for a review see 1). Genetic predisposition in humans is accounted to be responsible for about 50% of the risk of developing addiction to ethanol, a major medical and social problem in modern society. For all these reasons, Drosophila has successfully been used in the past decades to investigate the genetic and molecular components of ethanol effects in the brain.

Hypothesis Student will Investigate
The student will investigate how ethanol affects the sleep / wake cycle of Drosophila and, conversely, how the sleep / wake cycle affects the behavioural and molecular responses to ethanol. Some questions that the student will address are: is the sedation induced by high concentrations of ethanol similar to sleep, with all the restorative effects associated to it? What are the effects on the sleep / wake cycle of chronic consumption of ethanol? In flies, Response to ethanol has been shown to be under partial control of the genes regulating the circadian clock and regulating synaptic output in the brain[2], and the same is true for sleep[3]: what is the biological relevance of this observation.

Effects of ethanol on Drosophila locomotion (a) Representation of the locomotor velocity of wild-type flies during an exposure to a moderate dose of ethanol (ethanol exposure period is shown by the grey horizontal bar). (b) Computer-generated traces of the locomotor behavior of a group of 20 flies before and during exposure to ethanol vapor. Each panel corresponds to a 10-s time period recorded at the times indicated in (a). Reproduced from (1)

Techniques Student will Use
The student will perform behavioural experiments to investigate the physiological responses to ethanol sub ministration: this will include assaying sleep, anesthesia, sedation, motility as well as learning and memory by mean of Drosophila learning paradigms. The student will also perform anatomical dissections and molecular analysis exploring how gene expression changes in the brain upon ethanol administration.

References and recommended readings

  1. Drugs, flies and videotape: the effects of ethanol and cocaine on Drosophila locomotion.
    Curr Opin Neurobiol. 2002 Dec;12(6):639-45. (pdf)
  2. arouser reveals a role for synapse number in the regulation of ethanol sensitivity.
    Neuron. 2011 Jun 9;70(5):979-90. (pdf)
  3. Widespread changes in synaptic markers as a function of sleep and wakefulness in Drosophila.
    Science. 2009 Apr 3;324(5923):109-12. (pdf)

Sleep and learning: a genetic approach. The allnighter gene.

Background

Sleep is a vital activity, whose function still remain mysterious despite centuries of scientific research. All animals that have been tested so far, from nematodes to humans, possess and require the fundamental characteristics of sleep. In Drosophila, like in humans, sleep deprivation leads to a remarkable decrease in intellectual performance, learning and memory; chronic sleep restrictions also shows widespread metabolic changes and eventually leads to unexplained death.

My laboratory investigates the many functions of sleep using mainly the fruit fly Drosophila melanogaster as model organism. In particular, current research is aimed at elucidating the connections between sleep and synaptic plasticity, learning and neuronal homoeostasis. In previous work we provided evidence of how sleep may function as a mechanism to maintain a proper homoeostasis for synaptic strength and connections in Drosophila (see [1] for a recent review). We are now extending that line of work and we employ a rich selection of multidisciplinary techniques ranging from genetic manipulation of Drosophila (with transgenes and RNAi) to computer assisted analysis of behaviour to measure intellectual performance, including odours recognition and ability to court and mate.

The project

Following a genome wide screening for short sleeping mutant flies, we identified a novel gene that we called allnighter. allnighter mutant flies are viable but sleep considerably less than wild type controls and show general symptoms (such as tense “eagle” wings) that strongly suggest an underlying problem with neuronal excitability. 

The project aims at extending the characterization of this gene, and other belonging to the same family. Some of the questions that you will try to answer are: “where is the gene express and at what stages of development? Does expression change with sleep or experience? Is the enzymatic activity of allnighter required for its function? How do allnighter flies perform when challenged with task measuring their learning and memory capabilities”

Techniques. Working with Drosophila

An MRes rotation in Drosophila allows the unique opportunity to investigate a biological problem in vivo and yet follow the development of a relatively complicated project from the beginning (e.g.:genetic manipulation of a new animal) to the end (e.g.: behavioural testing of the new phenotype). Your daily work will most likely encompass basic techniques of molecular biology (DNA cloning, PCR etc), genetics (crossing flies and follow up progeny) and behavioural neuroscience (analysis of sleep, sleep deprivation, analysis of learning and memory performance).

Drosophila and neurobiology.

For decades, Drosophila has been the most powerful animal models for genetic dissection and manipulation, and the outstanding contributions that flies gave to developmental biology and genetics were celebrated twice with Nobel Prizes(1933, 1995), and countless time in our text books. Recently, more and more laboratories started pairing the incredible genetic tools that we have been building in the past century with new and exciting neuronal techniques, leading to a Drosophila neuronal renaissance. From circuit formation to their function, Drosophila offers the complexity of an animal that can learn, memorize, socialize and yet the accessibility of a 250 thousand neurons brain. Here, I link a few entertaining and informative videos with the aim to communicate the excitement this field is living right now.

  • Gero Miesenboeck (Oxford). Engineering the brain (18 minutes TED talk)
  • Michael Dickinson (Caltech). Towards an integrated view of brain function (28 minutes video)
  • Bjoern Brembs (Berlin). The Drosophila Flight Simulator (3 minutes video)
  • Charalambos Kyriacou (Leicester). An interview on the use of Drosophila for studying circadian biology and behaviour (14 minutes video)

Getting in touch.

My office is in room 743 of the Huxley Building, in the South Kensington Campus.
Email and phone number are listed here. I’ll be happy to meet you and show you the lab, just drop me an email.

References and sample readings

  1. Synaptic plasticity in sleep: learning, homeostasis and disease.
    Trends Neurosci. 2011 Sep;34(9):452-63. (pdf)
  2. Waking experience affects sleep need in Drosophila.
    Science. 2006 Sep 22;313(5794):1775-81. (pdf)
  3. Widespread changes in synaptic markers as a function of sleep and wakefulness in Drosophila.
    Science. 2009 Apr 3;324(5923):109-12. (pdf)

pySolo: a complete suite for sleep analysis in Drosophila

Bioinformatics. 2009 Jun 1; 25: 1466-1467
pySolo: a complete suite for sleep analysis in Drosophila
Giorgio F. Gilestro, Chiara Cirelli

pySolo is a multi-platform software for analysis of sleep and locomotor activity in Drosophila melanogaster. pySolo provides a user-friendly graphic interface and it has been developed with the specific aim of being accessible, portable, fast and easily expandable through an intuitive plug-in structure. Support for development of additional plug-ins is provided through a community website.
Availability: Software and documentation are located at http://www.pysolo.net. pySolo is a free software and the entire project is leased under the GNU General Public License.
Go to pubmedDownload PDFlink to the website