Deep learning tool identifies bacteria in micrographs

Deep learning tool identifies bacteria in micrographs
Neural network-based output, or flow field, derived from microscopy image of elongated bacterial cells, as part of research on the Omnipose deep-learning program. Credit: Mougous Lab/UW Medicine

Omnipose, a deep learning software, is helping to solve the challenge of identifying varied and miniscule bacteria in microscopy images. It has gone beyond this initial goal to identify several other types of tiny objects in micrographs.

The UW Medicine microbiology lab of Joseph Mougous and the University of Washington physics and bioengineering lab of Paul A. Wiggins tested the tool. It was developed by University of Washington physics graduate student Kevin J. Cutler and his team.

Mougous said that Cutler, as a physics student, "demonstrated an unusual interest in immersing himself in a biology environment so that he could learn first-hand about problems in need of solution in this field. He came over to my lab and quickly found one that he solved in spectacular fashion."

Their results are reported in the Oct. 17 edition of Nature Methods.

The scientists found that Omnipose, trained on a large database of bacterial images, performed well in characterizing and quantifying the myriad of bacteria in mixed microbial cultures and eliminated some of the errors that can occur in its predecessor, Cellpose.

Moreover, the software wasn't easily fooled by extreme changes in a cell's shape due to antibiotic treatment or antagonism by chemicals produced during interbacterial aggression. In fact, the program showed that it could even detect cell intoxication in a trial using E. coli.

Deep learning tool identifies bacteria in micrographs
Kevin Cutler, a University of Washington graduate student in physics, led the development and testing of Omnipose, a deep-learning program for identifying bacteria in micrographs. Credit: Mougous Lab/UW Medicine

In addition, Omnipose did well in overcoming recognition problems due to differences in the optical characteristics across diverse bacteria.

Most bacteria are spheres or rods, but some have other basic forms, such as twisting spirals. Besides these, Omnipose could identify more elaborate bacteria with elongated shapes or with branches, filaments and appendages, all that can make it difficult for deep learning tools to suss out which bacteria are present in an image.

The program does still face some limitations in handling object overlap in a 2D rendition of a 3D sample of a crowded microbial community. Object overlap is what produces, for example, the effect of a clock on a wall giving the illusion of popping out of a person's head in a photograph.

In analyzing cells in a root primordial data set from the fast-growing weed A. thaliana, Omnipose nonetheless did show some advantages over previous approaches in this 3D sample.

Other reviews by the Mougous lab team of Omnipose's capabilities showed bacteria below a certain threshold in size can be hard for the tool to suss out.

Despite these drawbacks, the researchers believe that Omnipose could be a solution, they noted, to "help answer diverse questions in bacterial cell biology."

Deep learning tool identifies bacteria in micrographs
Neural network-based output, or flow field, derived from microscopy image of elongated bacterial cells, as part of research on the Omnipose deep-learning tool. Credit: Mougous Lab/UW Medicine

To see if it could also become a multifunctional tool in other biological or even non-life sciences fields dependent on microscopy, the scientists tried out the program on micrographs of the ultra-tiny roundworm C. elegans, an important organism in genetic, neuroscience, developmental and microbial behavior research. Like some , this creature has an elongated shape. Like many other worms, it also can contort itself. Omnipose could pick out C. elegans regardless of its various stretches, contractions, and other movements. This ability could be useful, for instance, in neural studies of C. elegans locomotion during time-lapse tracking.

In designing tools like Omnipose, researchers are looking at a scale of single-pixel precision to define the boundaries of a cell. That's because most bacterial cell body images are composed of only a small number of pixels. The researchers explained that defining boundaries within an image is called segmentation. They developed Ominpose through a deep neural-network, high precision segmentation algorithm. Their experiments showed Omnipose has an unprecedented segmentation accuracy.

The scientists designed designed Omnipose for use by typical research laboratories and made its , training data and models publicly available, along with documentation on how to use the program.

"We anticipate that the high performance of Omnipose across varied cellular morphologies and modalities," the researchers wrote in their report," may unlock information from that was previously inaccessible."

"Reflecting the importance of the problem, this is a crowded field," Mougous said. "Yet Kevin's solution stands out from the pack. We believe it will be a game-changer for biological image analysis."

More information: Paul Wiggins, Omnipose: a high-precision morphology-independent solution for bacterial cell segmentation, Nature Methods (2022). DOI: 10.1038/s41592-022-01639-4.

Journal information: Nature Methods

Citation: Deep learning tool identifies bacteria in micrographs (2022, October 17) retrieved 26 May 2024 from
This document is subject to copyright. Apart from any fair dealing for the purpose of private study or research, no part may be reproduced without the written permission. The content is provided for information purposes only.

Explore further

To survive in the human gut, bacteria need genetic 'passcode'


Feedback to editors