Enumeration of CFUs in hundreds of individual flies in 96-well plate format using colonization assay
To understand the composition of many individual fly microbiomes, CFUs were measured using the accompanying protocol, which enabled identification of the species present, the percent of flies colonized, and the absolute abundance of bacteria in each fly. The reasons for the large observed individual-to-individual variation in microbiome composition are poorly understood, and quantifying the statistical distribution of colonization can help to study this variation36,37. To obtain a significant number of biological replicates, a high-throughput pipeline was developed for the quantification of microbe abundance in many individual flies using CFU counts (Figure 1A).
The final quantification of CFUs can be impacted by how flies are handled prior to analysis, for example, factors including surface sterilization, time since consumption of bacteria, and clearance of transient bacteria from the gut. First, focusing on the Drosophila commensal bacterial species L. plantarum (Lp; see Lp strain WF in Obadia et al.36), flies were fed a dose of ~105 CFUs of Lp and kept in groups of 25 flies per vial. These flies were either kept in the same vial for 3 days or transferred daily (Transferred) to fresh, sterile food (Figure 1B). Untransferred flies were then either washed in ethanol to remove surface bacteria (Washed) or not washed (Unwashed). Washing produced a non-significant reduction in the total CFUs measured (Figure 1B), indicating that under these highly-controlled inoculation conditions, the fly surface does not become significantly colonized by bacteria in 3 days. The other groups of flies were transferred every day to reduce the accumulation of bacteria from growth on food (Transferred); additionally, a group was transferred to fresh food for 4 h before sampling (Post-Transferred), or they were put in vials with only sterile agar-water for 4 h (Cleared) to allow transiently ingested microbes to clear from the gut. Each of these steps to provide more stringent colonization measurement produced a statistically significant reduction in the abundance of CFUs in the flies, with the exception of surface washing in ethanol. Transferring to sterile food (Post-Transferred) or agar-water (Cleared) for 4 h before measurement produced indistinguishable effects, indicating that transfer to sterile conditions 4 h prior to measurement reduces the bacterial load. This result is consistent with the interpretation that some gut bacteria in the fly gut are transient, while others are more stably associated35. The abundance of Lp ranged from 1 x 104.3 CFUs/fly in cleared flies to 1 x 104.9 CFUs in the unwashed flies (n = 724 flies).
Next, the same assay was conducted using Acetobacter indonesiensis (Ai), a gram-negative bacterium that colonizes the fly gut (Figure 1C; see strain Ai SB003 in Obadia et al.36). As with Lp-colonized flies, surface sterilization produced a non-significant reduction in CFUs. Likewise, daily transfer to sterile food significantly reduced the bacterial load, and transfer to sterile conditions for 4 h prior to homogenization produced a further reduction in bacterial load. The abundance of Ai ranged from 1 x 104.7 CFUs/fly in cleared flies to 1 x 105.0 CFUs in the unwashed flies (n = 528 flies). Thus, accurate quantification of gut bacteria depends upon the frequency of transfer, including on the day of transfer. Removing the external bacterial load by washing in ethanol had a non-significant effect, but more significant effects may be observed for different strains of bacteria or different culture conditions. These factors should be controlled experimentally.
The potential effect of the homogenization method on CFU counts was also tested. The flies were homogenized using a bead beater with 0.5 µm glass beads in 100 µL of PBS, which could reduce the viability of bacterial cells. First, a suspension of Lp bacteria from culture was prepared in PBS and then plated to count CFUs as a positive control. The same culture was placed into the bead beater plate and (i) homogenized with beads, (ii) homogenized with beads and a germ-free fly, or (iii) homogenized in PBS without beads (Figure 1D). Homogenization in beads when a fly was present did not significantly impact the abundance of viable cells in solution, whereas the homogenization of bacteria in the absence of a fly killed a significant number of bacterial cells. Homogenization in PBS without beads also significantly reduced the number of viable cells. Similarly, Ai viability was preserved when homogenized in the presence of a fly, while homogenization without a fly reduced the number of viable cells in solution (Figure 1E). These results indicate that the fly tissue protects the bacteria from being destroyed by the beads during homogenization. However, the experiments in Figure 1D and Figure 1E were performed with more than 108 CFUs per well. In practice, wells with ~106 cells per well or less were found to show little cell loss when beads were used without a fly. Cooling the plate on ice halfway through bead beating also improves cell viability. The significance of these results is that readers should be aware of these potential issues and design appropriate controls for their specific use case.
Accuracy of spot plating 96-well plates for high-throughput CFU quantification
Since the goal is to measure the CFU abundances for hundreds to thousands of individual flies, traditional spread plating methods are prohibitively time and material intensive. Spot plating is an effective and efficient method for CFU growth and enumeration19,31. The spot plating method uses a 96-channel pipettor to dispense 2 µL of bacterial suspension onto media prepared in rectangular tray plates (Figure 2A). Each spot represents the bacterial load of a single sample, so 96 flies can be analyzed with a single plate (Figure 2B). The accuracy of spot plating was compared with traditional plating by inoculating growth plates using the exact same 0.0001 OD suspension of Lp for both methods. The suspension was two-fold serially diluted five times in PBS. As a head-to-head comparison, 50 µL of the inoculum was spread onto individual round plates, or 2 µL spots were made on rectangular MRS plates. The plates were then incubated at 30 °C until the colonies were countable. The resulting CFU counts for each dilution were used to calculate the original concentration of the suspension and compared (Figure 2C). Round plates with 50-500 CFUs were counted as the control. No significant difference was observed between the high-throughput and traditional round plating methods.
As the density of colonies can affect their growth and quantification, the effect of CFU density on final counts was tested. Spots with 2 to 25 colonies per spot showed no difference in final count as compared with the traditional round plate method (Figure 2C). Spots with an average of 35 colonies produced results that skewed slightly lower than the control spread plates (Figure 2C; p = 0.0017). Close examination of the photographs of individual spots indicated that this skew was due to colonies overlapping in dense spots. Measurements based on spots with an average of 11 colonies per spot resulted in concentrations closest to those based on the spread plates (Figure 2C; Spread plates: mean = 1 x 104.4 CFUs; SD = 0.086 vs. spots with 11 average colonies: mean = 1 x 104.4 CFUs; SD = 0.12, p = 0.42, Welch's t-test).
Generating high-quality images for quantification using a specialized photography platform with either white light or fluorescence
High-throughput spot-plating naturally generates a large number of target areas, which must be counted accurately. Quality photographs can be used to document the data and to facilitate the counting of CFUs. A robust and straightforward photography platform was developed using commercially available materials (Figure 3A). A digital camera was attached to a bracket on top of a custom-constructed light box, called FluoroBox, and was pointed directly down, perpendicular to the center of the plate. A colored emission filter was optionally positioned in front of the lens using a filter slider. A light shield prevented lens flare by blocking direct light from the LED strips below. LED strips illuminated the plate from the sides, rather than above, to prevent glare on the plate. In addition to white light, single-color blue and green LEDs were used to excite green and red fluorescent proteins, respectively. The plate was held in place by a plate holder on the drawer, and the drawer was equipped with drawer sliders to make inserting the plate easy. Complete designs are available in Supplemental File 1 and Supplemental File 2.
A photo of a spot plate of Lp colonies was taken using white light LEDs and a digital camera to aid in counting colonies and distinguishing different colors and morphologies (Figure 3B). To validate that the lighting intensity was even, the background intensity of the agar was measured across different regions of a plate photograph (Figure 3C). To demonstrate that the colonies can be clearly distinguished from the background, the intensity across the diameter of 10 different colonies on different parts of the plate was measured and found to be approximately ~300% higher than background (Figure 3C). The plate was inoculated with Lp with an mCherry fluorescent protein-expressing plasmid, as well as some Lp that did not contain the plasmid, so colonies were either mCherry-positive or mCherry-negative. To distinguish these two types of colonies, the plate was photographed using the same camera with green LED light (515-525 nm) and a red filter (Tiffen #29), causing mCherry-positive colonies to fluoresce (Figure 3D). The difference in intensity between mCherry-positive and mCherry-negative was quantified by measuring the intensity across a sample of colonies (n = 10 colonies). mCherry-positive colonies were ~1,000% higher intensity than mCherry-negative (Figure 3E). Colonies of Ai expressing GFP and colonies of Ai expressing no fluorescence were photographed using blue LED lights (465-475 nm) and a green filter (Tiffen #58) (Figure 3F). GFP-positive colonies showed 200% higher intensity than GFP-negative (Figure 3G).
Automated counting of CFUs on spot plates using the custom ImageJ plug-in Count-On-It
Photos alone aid in counting colonies (e.g., by storing the data, sharing the data, zooming in, marking an overlay, separating colors, etc.). However, the act of manually counting and organizing the results of hundreds of spots can be tedious, time-consuming, and prone to human-to-human differences in final counts. To speed up the counting process and standardize the reproducibility of counts, a specialized ImageJ plug-in called Count-On-It (Figure 4A) was developed. This plug-in enables accurate semi-automated counting of CFUs on agar plates. The user prepares images for counting by first cropping and straightening them using the additional Croptacular plug-in. The photos can optionally be batch processed, and the threshold can be adjusted for each plate. Several other options let the user increase the accuracy of plate counting, including adjusting the light wavelengths (RGB images), setting a range of colony size (in pixels), changing the maximum aspect ratio, and customizing the dimensions of the active selection grid. Count-On-It outputs a table of results with each plate represented as a column of CFU counts. It also generates a photo receipt showing an overlay to visually document its counting results and aid in manual error correction (Figure 4B). While errors do occur, when the number of colonies counted manually was compared with the number of colonies counted using this plug-in (Figure 4C), the relationship was generally equivalent, with linear regression between the manual and automated counts showing a slope of 0.95 with over 90% accuracy (R2 = 0.93), although the error increased when the number of colonies exceeded 20.
Count-On-It can also be used to separately count fluorescent colonies using the fluorescence feature of the FluoroBox. mCherry-positive colony counts (Figure 4D) by software plug-in versus manual had an R2 of 0.92 (Figure 4E). Similarly, GFP-positive colonies (Figure 4F) counted with software plug-in versus manual had an R2 of 0.90 (Figure 4G). Fluorescent versus non-fluorescent colonies can be distinguished within a single sample, and colony size and shape can additionally be used to distinguish separate subpopulations (Figure 4H-K). The photo receipts provide a record that allows the user to quickly check the accuracy of the counts and manually correct errors. In Figure 4C,E,G,I,K, the photo receipts have not been used to improve the count accuracy so that readers can see the raw output of the method. Cases such as in Figure 4G, where a manual count of 1 yielded an automated count of 21, can quickly be detected using the photo receipts. In this case, glare on the edge of the plate created blobs that were counted as colonies. For each use case, the optimal settings for the software plug-in need to be determined before high throughput counting.

Figure 1: The colonization assay measures CFUs in hundreds of individual flies using a 96-well plate format. (A) Pictorial overview of the colonization assay and high-throughput quantification method used as described in the protocol section. (B) Lactiplantibacillus plantarum (Lp) abundance in flies following the colonization assay was measured under varying conditions using the high-throughput CFU quantification method. Flies were kept in the same vial for 3 days and then homogenized and plated (Unwashed), washed in ethanol before plating (Washed), both washed and transferred every day (Transferred), transferred daily then kept on sterile food before plating (Post-Transferred), or kept in vials with only water for 4 h (Cleared) (n = 724 flies total, 3 biological replicates and ~72 flies total per treatment). (C) The same assay as in (B) was conducted using Acetobacter indonesiensis (Ai) (n = 528 flies). (D) Lp bacterial suspension was prepared in PBS and then plated to count CFUs or first homogenized by bead beating, bead-beaten in combination with a germ-free (GF) fly, or shaken on the bead beater without beads or a fly (n = 236 sample wells). (E) Ai viability post homogenization was tested in the same way as in (D) (n = 282 sample wells). Statistical significance for panels (B-E) was computed using a Kruskal-Wallis test followed by pairwise Wilcoxon rank-sum tests with Bonferroni's multiple comparisons correction. Box gives interquartile range. Line indicates median. Whiskers give total range. Please click here to view a larger version of this figure.

Figure 2: Accuracy of spot plating 96-well plates for high-throughput CFU quantification. (A) Spot-plating using a 96-channel pipettor to dispense 2 µL onto media prepared in rectangular tray plates. (B) MRS-agar growth plate with 96 spots of Lp colonies. (C) Concentration of Lp suspension based on CFU counts from traditional round plates (n = 24 plates) compared to concentration based on CFU counts from spot plates (n = 680 spots) serially diluted and arranged by average colony count per spot (~48 spots for each single dilution factor for three replicate plates were counted). Each data point represents the exact colonies per spot, while each column represents the average colonies for that dilution. Horizontal dotted line indicates the calculated CFU count of the culture that was plated. Green outlined points highlight the traditional round plate counts. Red-filled points highlight the optimal colony density of 11 CFUs per 2 µL spot. Statistical significance was computed using ordinary one-way ANOVA comparing the mean of each column against the mean of the spread plate control column with Bonferroni's multiple comparisons correction. Box gives interquartile range. Line indicates median. Whiskers give total range. **p < 0.01. ns = not significant. Please click here to view a larger version of this figure.

Figure 3: A photography platform produces quantifiable images of plates using white light or fluorescence. (A) Overview of the FluoroBox design. (B) Photo of a spot plate of Lp colonies using white light. (C) Intensity profile of single colonies under white light compared to the intensity of the background (BKG) (n = 10 colonies, dashed line represents standard deviation). (D) Photo of the same spot plate as in (B), using single-color green lights and the red filter to select for mCherry-positive Lp colonies. (E) Intensity profile of single colonies illustrating the difference between colonies with and without mCherry emission. (F) Photo of a spot plate containing Ai colonies, some of which have a GFP label. (G) Intensity profile of single colonies illustrating the difference between GFP-negative and GFP-positive colonies. E, F, G: n = 10 colonies for each plot. Colony diameters are approximately 1.5 mm. Dashed line is SD. Please click here to view a larger version of this figure.

Figure 4: Accurate counting of spot plates by the Count-On-It ImageJ plug-in. (A) Screenshot of the plug-in setup window. (B) The plug-in generates a receipt to document counting and aid in error correction. Inset: Overlay with the number of colonies counted for each spot region; the yellow outline indicates that a single colony was counted and red that multiple colonies were counted. (C) Plot showing the number of colonies manually counted compared with the number of colonies counted using the plug-in (automated) when a white light image was used, where each point on the graph represents a single spot counted manually or automatically (slope of fit = 0.95, cyan line; 1:1 line is dotted red; R2 = 0.93, Pearson's coefficient of correlation, p < 0.0001). (D) Photo receipt image from the plug-in when mCherry-positive colonies were selected using the fluorescence feature of the photo box. (E) Plot showing the number of mCherry-positive colonies counted using manual compared to automated method when red fluorescence was used (slope of fit = 1.1, cyan line; 1:1 line is dotted red; R2 = 0.92, Pearson's coefficient of correlation, p < 0.0001). Note that outliers and errors have not been corrected using the analysis receipts for E,G,I,K. (F) Photo receipt image from the plug-in when GFP-positive colonies were selected using the green fluorescence feature of the photo box and selecting the green channel with the plug-in. (G) Plot showing the number of GFP-positive colonies counted using manual compared to automated method when green fluorescence lighting was used (slope of fit = 1.1, cyan line; 1:1 line is dotted red; R2 = 0.90, Pearson coefficient of correlation, p < 0.0001). (H) mCherry-positive colonies selected from mixed colony morphologies using a high fluorescence threshold in the plug-in. (I) Plot showing the number of mCherry-positive colonies counted using manual compared to automated method when red fluorescence lighting was used (slope of fit = 0.99; R2 = 0.91, Pearson's coefficient of correlation, p < 0.0001). (J) mCherry-negative colonies selected from mixed colony morphologies using a low fluorescence threshold. (K) Plot showing the number of mCherry-negative colonies counted using manual compared to automated method when the intensity threshold was set to select non-fluorescent colonies (slope of fit = 1.1; R2 = 0.85, Pearson's coefficient of correlation, p < 0.0001). Please click here to view a larger version of this figure.
Supplemental File 1: FluoroBox assembly instructions. This file walks the reader step-by-step through the construction of the controlled lighting box used in the video. Please click here to download this File.
Supplemental File 2: FluoroBox acrylic laser cut. This file provides a cut template to laser cut the acrylic pieces for the controlled lighting box. The file can be sent to a laser cut acrylic vendor. See the Table of Materials for the vendor used in this protocol. Please click here to download this File.
Supplemental File 3: Software instructions. This file walks the reader step-by-step through the installation and usage of the Croptacular and Count-On-It software provided with this protocol. Please click here to download this File.
Supplemental Coding File 1: 3D printing code for bead measuring tray (S1-bead-measurer.stl). Please click here to download this File.
Supplemental Coding File 2: Rectangular plate photo cropper ImageJ plugin (Croptacular_.ijm). Please click here to download this File.
Supplemental Coding File 3: Round plate photo cropper plugin (Circus_.ijm). Please click here to download this File.
Supplemental Coding File 4: Rectangular plate 96 spot counter plugin (Gridiron_.ijm). Please click here to download this File.