Skip to content

vektorious/mbac

Repository files navigation

Taking a closer look on how bacteria move!

Deep analysis tools and low-cost hardware setup for bacterial motility determination

Project is not maintained anymore! It was relaunched with a expanded scope and a new name: Have a look at the lightM project!



Welcome to the MBac project repository! It started as part of Mozilla Open Leaders Round 5 in early 2018. Here we work on the development of software tools and a low-cost open hardware setup to study how bacteria move. If you are interested you can read a bit more about the idea behind MBac in this README and get in contact on gitter.

You can directly jump to the sections:

What are your bacteria doing when you are not looking?

I am working with bacteria and some time ago I started to perform experiments to see how well my favorite bacteria can move. For this I usually put some of the bacteria in the middle of an agar plate in the evening, kept them at their favorite temperature for the night and was greeted in the morning with shapes like you can see on the right.

Pretty amazing, right? Sometimes they reminded me of fractals but they can also be very plain. I was instantly curious about what the bacteria are doing in the night when I am not watching and how these shapes form. That's when I started imaging the agar plates with a Raspberry Pi + camera and created time lapse videos (like this) from them.

From there the idea emerged to use the pictures to calculate the area the bacteria cover and the movement rate to see how they change over time!

Why would somebody be interested in bacteria movements?

Almost all bacteria can perform some kind of active movement. This means they can travel distances with their own power without being transported by wind or water. The ability to move is very crucial because it makes a lot of things easier and faster. For example bacteria can follow traces of small molecules which lead them to their food (this is called chemotaxis). You can imagine this like the smell of a freshly brewed coffee which you follow to find its source (the cup of coffee you might be craving for). And like you the bacteria rely on active movement to reach favourite food! Another advantage is the resulting ability to move to different places to check out how living is there. This enables the bacteria start new communities and discover food sources. They can also move together as a group like a swarm of fish in the sea or birds in the sky (that's why this ability is called swarming motility).

While all this very useful for the bacteria it often causes problems when we try to fight harmful bacteria species. For example some species can quickly form community layer (biofilm) on medical instruments which are hard to remove because the bacteria provide each other stability and protection. That's why the ability to move and spread faster sometimes makes a bacterium more dangerous than others. This is one reason why many scientists are studying bacteria movements and how they are made possible. In my PhD project I am looking at molecular surface structures of bacteria and how they influence the way bacteria move and colonize plants

Let me present to you: The Problem

Analyzing bacteria movements is sometimes tedious. Experiments with the same bacteria often produce very different results because the movements are depending on many different things. Thats's why a standardized hardware setup could help to avoid influences from outside and contribute to always get similar results if you repeat an experiment.

Using computer vision software to monitor bacteria movements increases the accuracy because you don't have just one data point but hundreds. Additionally one could analyze the shapes which are formed by the moving bacteria and maybe discover some new things which influence them!

On the right you can see a gif of my first pre tests. As you can see the shapes change during the time and I would have missed that without taking all those pictures!

How can you contribute?

Above you see the proposed setup.

The project can be divided into two parts:

Hardware 🔨

Design a setup for "dark field" agar plate imaging with a Raspberry Pi + camera. You could contribute by:

  • designing/optimizing the imaging setup
  • testing the setup
  • create a Raspberry Pi image server

Software 📀

Write a computer vision application to calculate the are the bacteria cover and how fast they move from images. You could contribute by helping us to develop a script which can:

  • identify agar plates on a picture
  • detect bacteria movement on agar plates
  • calculate the area covered by the bacteria
  • calculate movement rate

For a more detailed description about how you can contribute check out CONTRIBUTING.md or join our gitter channel.

Since this project is part of Mozilla Open Leaders Round 5 (and because they are well elaborated) the Mozilla Community Participation Guidelines apply to everyone who wants to contribute to this project.

And why should you contribute?

If you like to try something new or you want to train your 3D design and coding skills this project is perfect for you! You can play around with computer vision and at the same time solve a scientific problem. Additionally you will learn a bit about bacteria and how microbiologist characterize them.

And ultimately we might be able to publish the results in a peer-reviewed scientific journal (which is open access of course!) or at least at a the preprint server BioRxiv and you will be listed as co-author!

Who is behind all this?

I am a PhD student at the Technical University of Munich, combining microbiology, plant sciences and biochemistry in my research. I love 3D printing, recreating scientific instruments and getting lost on unnecessary nerdy projects. MBac started as one of such nerdy projects but turned into something unexpectedly useful. If you want to know about other things I do and have done so far you can visit openplant.science, my personal website or follow me on twitter.

About

Tools for deep analysis of bacteria motility

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages