{'fraction_non_alphanumeric': 0.031073056207706118, 'fraction_numerical': 0.022013534042259357, 'mean_word_length': 4.714330808080808, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 0, 'https://': 1, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Tools for studying growth patterns and chemical dynamics of aggregated Pseudomonas aeruginosa exposed to different electron acceptors in an alginate bead model

In chronic infections, bacterial pathogens typically grow as small dense cell aggregates embedded in a matrix consisting of, e.g., wound bed sludge or lung mucus. Such biofilm growth mode exhibits extreme tolerance towards antibiotics and the immune defence system. The bacterial aggregates are exposed to physiological heterogeneity and O2 limitation due to steep chemical gradients through the matrix, which is are hypothesised to contribute to antibiotic tolerance. Using a novel combination of microsensor and bioimaging analysis, we investigated growth patterns and chemical dynamics of the pathogen Pseudomonas aeruginosa in an alginate bead model, which mimics growth in chronic infections better than traditional biofilm experiments in flow chambers. Growth patterns were strongly affected by electron acceptor availability and the presence of chemical gradients, where the combined presence of O2 and nitrate yielded highest bacterial growth by combined aerobic respiration and denitrification.


INTRODUCTION
Bacterial biofilms are ubiquitous in most natural habitats, where they play an integral role in the cycling of elements. However, biofilms are also associated with a wide range of harmful effects ranging from biofouling of ship hulls and drainpipes to the formation of biofilms on medical implants and indwelling devices. 1 In chronic infections such as diabetic and venous leg ulcers or in the lungs of patients suffering from the genetic disorder cystic fibrosis (CF), 2,3 biofilms grow as small dense cell aggregates devoid of surface association, 4,5 in a matrix of exopolymeric substance consisting of polysaccharides, proteins, and eDNA. [6][7][8][9] Such bacterial aggregates are embedded in a secondary matrix composed of, e.g., wound bed sludge or CF lung mucus. Bacterial aggregates exhibit physiological heterogeneity due to steep chemical gradients forming through the secondary matrix and into the biofilm. 10,11 In particular, molecular oxygen (O 2 ) has been shown to reach hypoxic and anoxic levels within the outer 50-100 µm of biofilms and chronic wounds. [12][13][14] Steep O 2 gradients are also a recognised feature of chronic infections, 13,[15][16][17] where activated polymorphonuclear leucocytes persistently accumulate around the bacterial aggregates 4,18 leading to strong depletion of O 2 due to formation of reactive oxygen species. 19,20 Such complexity of the chemical landscape is believed to result in heterogeneous growth patterns, and the establishment of bacterial subpopulations exhibiting particular metabolic activities. 21 This in turn can have an impact on the efficacy of antibiotic treatment as several studies have shown that O 2 limitation is correlated to increased antibiotic tolerance of biofilms. [10][11][12]22 The opportunistic pathogenic bacterium Pseudomonas aeruginosa is a key model organism for the study of biofilm infections, and it has been isolated from both chronic wounds and chronically infected lungs of CF patients. In order to gain further insight to the biofilm mode of growth of P. aeruginosa, several optical methods can be applied for visualising growth patterns and biofilm structure. The standard method of confocal laser scanning microscopy (CLSM) of stained or fluorescently tagged P. aeruginosa provides very localised information on biomass distribution (at µm scale). In combination with quantitative peptide nucleic acid fluorescence in situ hybridisation (PNA-FISH) 21,23 CLSM can also be applied to quantify the growth potential 21 by treating bacterial cells with PNA-FISH probes specific for P. aeruginosa 16S rRNA. 24 While providing highresolution data on bacterial growth, this method is based on fixed samples and is therefore an invasive technique. When aiming to unravel structural biofilm properties at mesoscopic to macroscopic levels (10 µm-mm length scale), optical coherence tomography (OCT) is a suitable alternative imaging technique. 25 OCT employs near-infrared radiation (NIR) and provides a non-invasive alternative to light microscopy, enabling high-resolution 3D scanning of larger (mm 3 to cm 3 ) biofilm volumes in near-real time. [26][27][28] As previously mentioned, bacterial aggregates are exposed to chemical and physiological heterogeneity due to steep O 2 gradients. To further elucidate this aspect, microsensors can be used to investigate the chemical environment in a minimal invasive fashion. 29 Microsensors are available for several analytes including O 2 and nitrous oxide (N 2 O), a key intermediate product of denitrification. 30 Another approach is to use chemical imaging with optical sensors (either immobilised in sensor films or particles) to visualise the chemical microenvironments in biofilms. [31][32][33][34] Biofilms are often studied in vitro using continuous flow cell systems, wherein biofilms are grown attached to a surface and can exhibit a variety of structural morphologies including mushroomshaped structures. 35 However, in CF lungs and chronic wounds P. aeruginosa grows in dense suspended aggregates separated by a secondary matrix and with no attachment to a solid substrate or surface. 4 The typical growth mode and biofilm shapes observed in flow chambers are thus not representative of the observed in vivo growth patterns of biofilms associated with chronic infections. To better mimic the in vivo conditions of P. aeruginosa in chronic infections, we recently employed an alginate bead model, 14 wherein the bacteria form dense, spatially segregated micro colonies similar in size and structure to P. aeruginosa aggregates observed ex vivo in lungs from CF patients 21 and chronic wounds. 4 P. aeruginosa can grow anaerobically by performing arginine fermentation or using alternative electron acceptors [36][37][38] and there is increasing evidence that P. aeruginosa can utilise the high physiological NO 3 − and NO 2 − levels in the CF lungs to grow under O 2 limitation by performing denitrification. 39,40 In this study, we investigated P. aeruginosa aggregate growth in alginate beads with different O 2 and NO 3 − availability mimicking physiological conditions encountered in the chronic infections. 41,42 The bacterial biomass, growth rate, and chemical microenvironment in the beads was characterised using a novel combination of OCT, CLSM, PNA-FISH, viable cell counts, O 2 and N 2 O microsensor analysis, as well as first attempts of chemical O 2 imaging. We found significant effects of electron acceptor availability on the growth pattern and metabolic activity of P. aeruginosa forming in vivo-like microcolonies in the alginate bead model, and discuss the implications of our results for better treatment of chronic infections.

RESULTS
Optical coherence tomography OCT facilitated non-invasive macroscopic imaging of the alginate beads ( Supplementary Fig. S1A, B), wherein light scattering bacterial aggregates were identified by their high OCT signal. Due to dense growth of bacterial aggregates in the bead periphery, the vertical OCT signal attenuation was rapid and at about 200 µm below the bead surface the OCT signal approached that of the OCT signal of pure alginate ( Supplementary Fig. S2). The OCT dB signal from the outermost peripheral 150 µm of the beads could thus be used as a proxy for bacterial biomass distribution. The OCT dB signal of anoxic beads (without NO 3 − ) was similar to the blank control (without bacteria), thus suggesting no or very minor growth (Fig. 1). In contrast, the OCT signal from anoxic beads with NO 3 − was significantly higher relative to the control after 48 h (p = 0.035). Normoxic beads and normoxic beads supplemented with NO 3 − gave rise to the strongest OCT signal, indicative of intense growth and biomass accumulation in the bead periphery ( Fig. 1, S1).

Microscopy
Bacterial growth and organisation in the alginate beads was visualised microscopically by CLSM using green fluorescent protein (GFP)-tagged P. aeruginosa (Fig. 2). In normoxic beads, P. aeruginosa showed peripheral growth (growth in the outermost 100 µm of the bead) of bacterial microcolonies after 24 and 48 h (Fig. 2b). Normoxic growth in the presence of NO 3 − resulted in a very intense growth, with larger aggregates in the periphery than observed under anoxic growth of P. aeruginosa in the presence of NO 3 − . Moreover, 48 h normoxic growth of P. aeruginosa with NO 3 − resulted in a heterogeneous growth pattern, with bacterial microcolonies decreasing in size with distance from the surface of the alginate bead (Fig. 2a). Anoxic beads with NO 3 − showed a homogeneous distribution of aggregate size in the bead after 24 h, but also exhibited signs of a more heterogeneous aggregate size distribution after 48 h growth with largest aggregates closer to the bead surface (Fig. 2c). No growth was observed in anoxic beads without alternative electron acceptors at 48 h (Fig. 2d), which was supported by the OCT imaging results.
When correlating growth potential to growth depth, we found no statistically significant correlation under any conditions. It was not possible to prepare paraffin slices for anoxic beads without NO 3 − , but as previously shown P. aeruginosa failed to grow under these conditions (Figs. 2, 4).  − showed that the initial concentration (t = 0) of NO 3 − in the medium was 10.450 µM ± 148 µM ( Fig. 6a), while no NO 2 − could be detected (Fig. 6b). After 24 h, the NO 3 − concentration had declined significantly to 4.119 ± 0.149 and 3.319 ± 0.191 µM (p < 0.0001) in the anoxic and normoxic cultures, respectively, and was completely depleted within 48 h (Fig. 6a). No NO 2 − could be detected in the normoxic cultures, but in the anoxic cultures there was a significant accumulation of NO 2 − after 24 h (p < 0.0001), which was depleted again after 48 h (Fig. 6b). When measuring the N 2 O concentrations directly in the growth medium with electrochemical sensors, we found no N 2 O in the growth medium without added NO 3 − (data not shown). In the anoxic culture flasks with NO 3 − addition (sealed airtight), denitrification led to an accumulation of N 2 O over time (Fig. 6c). After 24 h of incubation, a N 2 O concentration of 140 µM was measured in the medium, increasing to 225 µM after 48 h. In the normoxic culture with NO 3 − , N 2 O was measured at a concentration of 120 µM after 24 h, but only 1.5 µM after 48 h.

DISCUSSION
Cultures of P. aeruginosa in alginate beads exhibit several characteristics of aggregated bacteria found in the lungs of CF patients and in chronic wounds, in regard to aggregate size, growth, O 2 limitation, physiological heterogeneity, and antibiotic tolerance. 14 This enabled our study of in vivo-like growth patterns and the chemical microenvironment of P. aeruginosa with and without electron acceptors via a variety of invasive and noninvasive methods. The most intense growth of P. aeruginosa was observed in the presence of the two electron acceptors O 2 and NO 3 − , enabling both aerobic respiration and denitrification in the alginate beads, while complete absence of electron acceptors resulted in an arrested growth state.
We studied the growth patterns of P. aeruginosa in the presence and absence of O 2 and NO 3 − at different spatial scales using OCT for mesoscopic and macroscopic scale, CLSM to unravel structures at a microscopic scale, and quantitative PNA-FISH for information on the growth potential. OCT has previously been used to study the formation and growth dynamics of biofilms in flow chambers and various carrier materials 43,44 and of clinical biofilms in nasal polyps, 28 but to our knowledge OCT has not previously been used to investigate bacteria growing in alginate beads. The presence of bacteria increased local backscatter in the alginate matrix resulting in a stronger OCT signal. 44 However, the alginate matrix also scattered light, and a quantification of bacterial growth thus relies on a clear separation of the OCT signals originating from the bacteria and the alginate. We found that bacterial growth led to an enhancement of the OCT signal relative to the alginate bead, but only within the first 200 µm from the bead surface (see Supplementary Fig. S2). While OCT allows for a potential operational depth of view of several mm's, 45 the high density of bacteria in the outermost bead layers leads to intense multiple  scattering of the NIR probing light causing a rapid vertical attenuation and thus loss of image contrast of the collected OCT signal 46 resulting in an operational depth of view that was comparable to CLSM. 47 Evidently, such application of OCT can be further optimised, e.g., by decreasing scatter in the alginate matrix using washed less optically opaque alginate, but such technical optimisation was beyond the scope of this study. Still, the OCT data in our study complemented higher-resolution microscopy techniques and provided a non-invasive macroscopic overview of the growth dynamics and growth zones in intact alginate beads. With OCT, it was thus possible to monitor the overall growth zone of P. aeruginosa in alginate beads (Fig. S1), while high-resolution CLSM enabled (i) visualisation and quantification of microcolony size and distribution in the alginate beads (Fig. 2) and (ii) local growth potential measurements when used in combination with a quantitative PNA-FISH protocol (Fig. 3). Supplementing P. aeruginosa with two electron acceptors (O 2 and NO 3 − ) resulted in higher growth potentials (Figs. 2, 3) at 24 h as compared to 48 h incubation. Moreover, a heterogeneous growth pattern of P. aeruginosa was observed in the alginate beads after 48 h incubation with larger aggregates situated near the oxygenated bead surface. Physiological heterogeneity within biofilms is largely driven by the activity and biomass distribution of the bacteria in combination with mass transfer limitation by diffusion of electron acceptors, substrate and products of bacterial metabolism in the biofilm matrix and in the diffusive boundary layer between the mixed water phase and the biofilm. 11 Typically, bacterial depletion of O 2 in the biofilm periphery limits diffusion to deeper parts, 48 and we found that such development of O 2 concentration gradients in the alginate beads lead to a heterogeneous growth pattern over time, where only the bacteria positioned near the bead surface had sufficient access to the preferred electron acceptor O 2 . While anoxic grown P. aeruginosa with access to NO 3 − displayed a very homogeneous growth pattern after 24 h, these beads also showed signs of a heterogeneous growth pattern after 48 h (Fig. 2). This shift was probably due to depletion of bead-incorporated NO 3 − , where after NO 3 − was only available by diffusion from the growth medium. These results are in accordance with previous studies showing a heterogeneous distribution of bacterial aggregate sizes, with significantly larger aggregates in the periphery as compared to deeper in the beads after 48 h in normoxic grown alginateencapsulated P. aeruginosa with and without 100 mM NO 3 − supplement. 14 The results from OCT and CLSM corresponded well with the quantitative PNA-FISH results in terms of showing increased growth depth in the presence of NO 3 − , while the availability of O 2 did apparently not affect growth depth into the alginate beads. The latter finding confirms that O 2 is strongly affected by diffusion limitation. 49 In addition, quantitative PNA-FISH provided an estimate on the growth potential, expressed as fluorescence intensity, which has been shown to correlate with growth rate in P. aeruginosa. 21 Contrary to growth depth, the growth potential was affected by the presence of O 2 , and we found a significantly higher growth potential with O 2 at 24 h as compared to 48 h. This suggests that the contribution of O 2 to the overall growth may be limited after 48 h, and that the preferred electron acceptor O 2 initially facilitates a more intense growth burst than with NO 3 − , which correlates well with the low growth rate of P. aeruginosa observed in vivo in the mucus of chronically infected CF lungs. 21 Furthermore, this is in accordance with a higher energy yield by O 2 respiration as compared to denitrification. 50,51 Cell counts further confirmed a more intense growth in the presence of both O 2 and NO 3 − (Fig. 4). Interestingly, bacterial growth in beads with no electron acceptors did not result in a decrease in CFU but rather lead to a steady state in cell counts throughout the study, which is in support of P. aeruginosa's remarkable ability for long-time survival. 52 Previous studies have thus demonstrated that P. aeruginosa is capable of long-term anaerobic survival via fermentation of amino acids, 52-54 which were present in the growth medium.
To gain further insight to factors governing the growth dynamics of P. aeruginosa in the beads as observed with OCT, CLSM, and quantitative PNA-FISH, we used microsensors to quantify chemical gradients in the alginate beads. Based on such measurements, we estimated oxic respiration from the net consumption of O 2 and denitrification from the net production of N 2 O in the beads, respectively. The observed decline in O 2 in the water just above the alginate bead surface showed the presence of a diffusive boundary layer around the bead, 55 and microsensor measurements demonstrated the presence of steep O 2 concentration gradients and thus high O 2 consumption in beads incubated under normoxic conditions. However, the O 2 uptake decreased with time (Fig. 5a) in line with our observation of a decreasing growth rate over time as determined by quantitative PNA-FISH (Fig. 3). This may indicate onset of substrate limitation for bacterial growth in the alginate beads.
Beads incubated in normoxic medium with NO 3 − showed steep O 2 concentration gradients, but contrary to beads grown without NO 3 − , the O 2 uptake did not decrease with time (Fig. 5b). However, such sustained high O 2 consumption was not reflected in higher growth potentials, which showed a decrease between 24 and 48 h of incubation (Fig. 3a). Some bacteria can perform socalled aerobic denitrification during hypoxic conditions in the presence of NO 3 − . Initially described by Robertson and Kuenen, 56 aerobic denitrification can explain how NO 3 − respiration may proceed in the presence of O 2 . 56 In P. aeruginosa this ability is  57 Moreover, the ability to perform intra-aerobic respiration has been proposed, where NO 3 − is reduced to NO, which is dismutated into N (nitrogen) and O 2 . 58 Such formed O 2 would in theory proceed in the aerobic respiration chain, which would then support high O 2 consumption rates. However, we note that the presence of aerobic denitrification or intra-aerobic respiration remains to be demonstrated in P. aeruginosa. Maximal N 2 O concentration was detected in the hypoxic zone of the alginate beads, indicating that denitrification mainly occurred here (Fig. 5). Production of N 2 O decreased with time (Fig. 5b), which may reflect NO 3 − depletion in the beads and the surrounding medium.
This was supported by the complete exhaustion of NO 3 − after 48 h (Fig. 6a).
In beads incubated in anoxic medium with NO 3 − , P. aeruginosa solely relied on denitrification for anaerobic respiration as indicated by the observed N 2 O production, which decreased over time (Fig. 5b), leading to the appearance of a more heterogeneous size distribution of bacterial aggregates in the beads (Fig. 2) resembling the growth pattern observed in normoxic beads. As N 2 O is a key intermediate in the denitrification metabolic pathway, 36 a decreasing N 2 O flux could indicate the onset of NO 3 − limitation within the beads after 48 h of growth, which was supported by our finding of complete consumption of NO 3 − after 48 h (Fig. 6a). We also followed the fate of NO 2 − in the growth  (Fig. 6b), which showed a peak in NO 2 − for anoxic grown beads after 24 h, and complete depletion after 48 h. In normoxic incubations (with NO 3 − ), no increase in NO 2 − was observed, but we speculate that such a peak may have occurred before the 24 h measurement, as NO 3 − in the presence of O 2 was shown to facilitate a more intense growth initially. The N 2 O measurements in the growth medium showed that N 2 O accumulated to very high levels in the sealed system after 48 h (Fig. 6c) further supporting a strong NO 3 − consumption during the incubations. While our microsensor measurements revealed insight to the overall dynamics of O 2 and N 2 O gradients in the alginate beads when incubated under different electron acceptor availability, we note that such measurements cannot provide detailed insight to the heterogeneous chemical landscape of individual microcolonies in the alginate beads. In a first attempt to link microcolony heterogeneity to the distribution in O 2 , we used ratiometric O 2 imaging in a 24 h old alginate bead supplemented with O 2sensitive nanoparticles and grown under normoxic conditions (Fig.  7c). Ratiometric O 2 imaging showed pronounced local variation in the outermost 100 µm of the alginate bead. However, the used camera system for O 2 imaging did not have enough spatial resolution to investigate co-localisation and enable correlations between microcolony size and O 2 distribution. However, such combined biomass and O 2 imaging 34 in the alginate beads has a strong potential to further resolve links between the chemical microenvironment and growth of P. aeruginosa in the alginate bead. Such approach would require more measurements of O 2 distribution with nanoparticles in the beads using higherresolution microscopic imaging. 33,59 In conclusion, growth in alginate beads represents a useful in vitro model for the in vivo growth of P. aeruginosa in chronic infections. This model system is suitable for testing responses in bacterial metabolism and growth patterns to the availability of different electron acceptors and donors during chronic infections, and the effect of the different treatments are summarised in Fig. 8. The alginate bead model may also prove very suitable for testing antimicrobial susceptibility and tolerance of P. aeruginosa and other pathogens involved in mono-species and multi-species infections. It is well known that O 2 limitation contributes to antibiotic tolerance of bacteria in biofilms, 22 but addition of electron acceptors such as NO 3 − and O 2 may antagonise this effect and enhance the susceptibility towards antibiotics. 60,61

Bacterial strains
A wild-type P. aeruginosa strain PAO1 was obtained from the Pseudomonas Genetic Stock Center (http://www.pseudomonas.med.ecu.edu). To enable visualisation of PAO1 cells, GFP constitutively expressed on plasmid pMRP9 62 was used.

Growth conditions
Cultures were propagated from −80°C freeze culture stocks and grown overnight (ON) in lysogeny broth (LB) for approximately 18 h at 37°C under continuous shaking at 180 RPM. Subsequently, the LB ON culture was used for inoculation in low nutritional R2A broth (Lab M Limited, UK) supplemented with 0.05 M Tris-HCl buffer (pH 7.6) and 0.5% glucose (abbreviated R2A), and left to acclimatise ON until further use. The medium to volume ratio was 1:2.5.

Bead preparation
Alginate beads of 2.4 mm ± 0.1 mm in diameter (mean ± standard deviation) were prepared by a previously described method, 14 with the exception of adding 10 mM potassium nitrate (KNO 3 − ) (P8394, Sigma-Aldrich, USA) to some of the beads. In all experiments, beads were incubated in R2A medium (with or without 10 mM KNO 3 − ) at 100 RPM at 37°C for 24 or 48 h, respectively. For normoxic conditions, culture flasks were sealed with cotton. To achieve anoxic growth conditions, the medium was flushed with nitrogen gas (N 2 ) for 5 min, where after the culture flask was immediately sealed airtight.
The bacterial growth of P. aeruginosa in the alginate beads was studied after 24 and 48 h in response to four permutations of the growth conditions: (i) Normoxic culture without NO 3 − , (ii) normoxic culture with NO 3 − , (iii) anoxic culture without NO 3 − , and (iv) anoxic culture with NO 3 − . Separate culture flasks were prepared for each time point, but all cultures originated from the same two batches of alginate beads (with and without NO 3 − ) inoculated with the same PAO1 ON culture.

Optical coherence tomography
We used a commercially available spectral-domain OCT system (Ganymede II, Thorlabs GmbH, Germany) equipped with an objective lens with an effective focal length of 36 mm, and a working distance of 25.1 mm (LSM03; Thorlabs GmbH, Germany). The operating principle and components of the OCT system are described in detail elsewhere 63,64 and in Supplementary. In order to use the OCT signal to compare bacterial growth between experimental treatments, OCT measurements were performed under well-defined optical conditions in terms of OCT system settings. A single alginate bead was placed in a black screw cap filled with 800 µL of distilled water. Using z-axis OCT scans (so-called A-scans), the image was brought into focus via the manual focusing stage and by adjusting the reference light intensity as well as the position of the reference length. 64 After optimisation of image acquisition settings, the configuration was not changed, and subsequent measurements on alginate beads were performed under identical conditions. Each alginate bead was first scanned at high resolution in three (technical) replicate cross-sectional scans (so-called B-scans) followed by one full 3D scan (so-called C-scan) and rendering of the entire bead. OCT imaging was done in (biological) triplicates for each treatment after 24 and 48 h of incubation, respectively.
Visualisation of OCT B-scan and C-scan was done with the manufacturers imaging software (ThorImage 4.2; Thorlabs GmbH, Germany) using the built-in brightness and contrast functions. The images were visualised assuming a constant refractive index of water (n = 1.33). The attenuation of the A-scan signal can be used to understand changes in the structure of the alginate bead. We extracted three vertical A-scans from the B-scans over the area surrounding the highest point of the alginate bead (Fig. S1). OCT images were extracted in B-scan mode with manually optimised brightness and contrast adjustment and assuming a refractive index of 1.33 (for water). These adjustments separated the background noise from the OCT signal generated from the alginate beads.

Microscopy
A confocal laser scanning microscope (Zeiss Imager.Z2, LSM710 CLSM; Zeiss) operated with the manufacturers software (Zen2010, version 6.0; Zeiss, Germany) was used for imaging alginate-encapsulated, GFP-tagged PAO1. Samples were prepared by cutting the beads in half with a sterile scalpel. Cut beads were mounted in the dents of a flow-cell with the cut surface facing upwards. 10 µL milliQ water was applied to the cut bead surface, and a cover glass was fixed to the flow-cell with silicone sealant, making sure the cut surface was in close contact with the cover glass. The flow-cell was mounted on the microscope, and images were taken from the cut surface of the bead enabling visualisation of the distribution of bacterial aggregates from the periphery of the beads and towards the bead interior. Imaging of GFP-tagged P. aeruginosa was done with a 40×/ NA1.3 oil objective, using laser excitation at 488 nm, and an emission filter range from 495 to 605 nm with a peak at 510 nm. The resulting images were processed with Imaris image processing software (v8.3.1; Bitplane, Switzerland).
Microscopy combined with quantitative PNA-FISH Alginate beads from the four permutations, sampled after 24 and 48 h, were stored for at least 24 h in 4% formaldehyde (Hounisen, Denmark) kept at 4°C and supplemented with 0.25 CaCl 2 for stabilisation. Subsequently, the beads were embedded in paraffin, cut in 4-µm thick sections with a standard microtome, fixed on cover slides and kept dark at 4°C until further use; we note that this procedure did not work with the anoxic beads incubated without NO 3 − due to bead disruption. Staining of bead sections was conducted with a Texas Red-conjugated PNA-FISH probe specific for P. aeruginosa 16S rRNA (AdvanDx, USA) by previously described methods. 14,21 A microscope slide with the fixated and PNA-FISH stained 4-µm sections of alginate beads was mounted on the microscope. Imaging of the alginate bead sections for quantitative PNA-FISH was done Growth patterns and chemical dynamics of P. aeruginosa M Sønderholm et al.
with identical image acquisition settings for all pictures: Fluorescence images were recorded as 1-μm step size z-stacks at an image resolution of 4096 × 4096 pixels, with an averaging of two scans, and 16-bit colour depth using a 63×/1.4NA oil immersion objective, laser excitation at 594 nm, and emission range from 600 to 695 nm with a peak of 615 nm. Quantification of microcolony fluorescence (mean intensity) was performed using Imaris image processing software (v8.3.1; Bitplane, Switzerland). Image thresholding was applied, which discriminated background and foreground fluorescence with the use of the Measuring Pro expansion pack for the Imaris software (Bitplane, Switzerland). A minimum colony size was set to 10 µm 3 to avoid inclusion of planktonic bacteria in the analysis of bacterial aggregates. 14 The mean fluorescence intensity of each micro colony was measured on a 16-bit scale from 0-65535 fluorescence intensity units (FU). Kragh et al. 21 previously described a linear correlation between growth rate and fluorescence intensity of PNA-FISH stained rRNA molecules in P. aeruginosa. Based on this relationship, the fluorescence intensity of PNA-FISH stained samples could be used as a proxy for apparent growth rate. Colony distance from the discernible periphery of alginate beads was measured manually for individual colonies using the measuring tool in the Imaris software (Bitplane, Switzerland) and was plotted against fluorescence intensity.

Colony-forming units
For quantification of CFU, beads were dissolved using a solution of Na 2 CO 3 (0.05 M) and citric acid (0.02 M). 65 The dissolved bead slurry was serially diluted before plating on LB plates for enumeration of cells via colony formation. CFUs were determined in biological triplicates.

Microsensor measurements
Beads were submerged in a Petri dish filled with pre-warmed R2A medium (with or without NO 3 − ) that was kept at 37°C under gentle ventilation by a fine air or nitrogen stream directed towards the surface via a Pasteur pipette connected to an air pump or N 2 gas cylinder. N2O25, Unisense A/S, Denmark). All measurements were performed in 3−4 biological replicates. Both microsensors were connected to a pA metre (Unisense A/S, Denamark) that was interfaced to a PC via an A/D converter (Profix; Pyroscience GmbH, Germany). Linear calibrations of the microsensors were performed as specified by the manufacturer via measurements with the O 2 microsensor in air saturated and O 2 -free water, and measurements with the N 2 O microsensor in N 2 O-free water, followed by measurement upon addition of defined aliquots of N 2 O saturated water.
Concentration profiles were recorded in beads incubated for 24 and 48 h after encapsulation of P. aeruginosa in alginate, respectively. The position, where the microsensor tip touched the bead surface (depth = 0), was determined visually with the aid of a USB microscope (model AM7515MZTL, dino-lite.eu) aiming after the centre of the uppermost bead surface. Profile measurements were conducted in steps of 50 or 200 µm through the bead. Microsensor positioning and data acquisition were done with dedicated profiling software (Profix; Pyro-Science GmbH, Germany).
To assess N 2 O concentration directly in the growth medium, the sensor tip was submerged in the growth medium and the resulting concentration was recorded as quickly as possible after removal of the cotton or rubber sealing.

Calculations of O 2 and N 2 O flux
Net production of N 2 O and net consumption of O 2 in the alginate beads were estimated as gas fluxes from measured steady-state concentration profiles, by a modified version of Fick's first law of diffusion, 66 where the slope of the profile in the alginate bead was calculated from three consecutive measurements, from the upper quasi-linear parts of the profiles: 39 where J is the flux of O 2 or N 2 O (nmol cm −2 min −1 ), D is the molecular diffusion coefficient of O 2 (1.5 × 10 −5 cm 2 s −1 ) 55 or N 2 O (2.76 × 10 −5 cm 2 s −1 ) 67 in water at 37°C, and C is the concentration of O 2 or N 2 O (µmol L −1 ) at depth x n (µm), where n = a, b or c denotes three subsequent measurements at increasing depth (Eq. 1).

NO 3 − and NO 2 − quantification
The NO 3 − and NO 2 − concentration in fresh and spent NO 3 − -supplemented R2A medium during the time course of the experiments was quantified by the Griess colorimetric reaction (no. 780001, Cayman Chemicals, USA), in technical duplicates, as previously described. 39 Imaging of O 2 In order to image the O 2 distribution within alginate beads harbouring P. aeruginosa, O 2 -sensitive sensor nanoparticles were incorporated into the beads. The sensor nanoparticles contained an O 2 -sensitive indicator (PtTFPP) and an insensitive reference dye (MY) and were prepared as described elsewhere. 33,68 The sensor nanoparticles were added to the alginate-bacterial solution prior to bead preparation (sensor particle to alginate ratio: 1:50 vol/vol). After 24 h of growth, ratiometric O 2 imaging of the bead was performed as described below.
For imaging, a bead was cut in half and placed on a cover glass with the cut surface facing the glass surface. The cut bead was covered with fresh medium and left to acclimate for a few minutes. A USB RGB microscope with built-in UV (405 nm) LED illumination (model AM4113-FVT, dino-lite. eu) was placed below the cover glass and was used to obtain images of the cut bead surface. After image acquisition, the obtained RGB images were split into the three colour channels (red, green, and blue) using the free image analysis software ImageJ (imagej.net). As the O 2 -sensitive indicator emits in the red channel and the reference indicator in the green channel, the ratio between these two channels could be used to obtain an O 2 image. Ratios were calculated using the plugin Ratio Plus (https://imagej. nih.gov/ij/plugins/ratio-plus.html) and were linked to O 2 concentration by a previously obtained calibration using the curve fitting function of ImageJ. For the calibration, alginate beads with sensor nanoparticles but without bacteria were submerged and imaged in water containing known O 2 levels. The O 2 levels were adjusted by flushing the water with an air/N 2 mixture using a PC-controlled gas mixer (Sensorsense, The Netherlands). Detailed additional information on ratiometric O 2 imaging using sensor nanoparticles can be found in recent publications. 32,33,68 Statistics Data were analysed for statistical significance with SPSS version 24 (IBM, USA) and GraphPad Prism version 6 (GraphPad Software, USA). Data were illustrated with GraphPad Prism. Group comparisons for quantitative PNA-FISH data (Fig. 3) were made using either Mann-Whitney U test (for growth depth calculated as IQR) or independent samples t-test on log transformed values (apparent growth rate, expressed as mean fluorescence intensity). Log growth rate and depth were correlated using Pearson correlation. Flux rates (Fig. 5) were compared by Mann-Whitney U test. Changes in CFU (Fig. 4), concentrations of NO 3 − and NO 2 − (Fig. 6), as well as differences in OCT dB signal over time (Fig. 1) were analysed by two-way ANOVA. Based on our experience with the effect of treatment and the standard deviation of the methods rarely exceeding 40% of the effect we expect that three replicates will allow us to detect significant differences with p < 0.05 and a power of 0.80. A two-sided α of 0.05 was considered significant.