scieee AI-readable full text Open interactive document viewer

Modelling the comparative influence of conjugation and transformation on plasmid spread in biofilms

Vincent, Julien,Tenore, Alberto,Mattei, Maria Rosaria,Frunzo, Luigi

Abstract

22 Páginas.-- 16 Figuras.-- 5 Tablas. Este trabajo es financiado por el proyecto M2ex “Exploiting metal-microbe applications to expand the circular economy”, cuyo Investigador Principal es el Dr. Fernando G. Fermoso (Instituto de la Grasa-CSIC)

Full text

Mathematics and Computers in Simulation 228 (2025) 156–177 Available online 20 August 2024 0378-4754/© 2024 The Authors. Published by Elsevier B.V. on behalf of International Association for Mathematics and Computers in Simulation (IMACS). This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Contents lists available at ScienceDirect Mathematics and Computers in Simulation journal homepage: www.elsevier.com/locate/matcom Original articles Modelling the comparative influence of conjugation and transformation on plasmid spread in biofilms Julien Vincent a,b, Alberto Tenore a, Maria Rosaria Matteia,∗, Luigi Frunzo a aDepartment of Mathematics and Applications ‘‘Renato Caccioppoli’’, University of Naples Federico II, Via Cintia 26, 80126 Monte S. Angelo, Naples, Italy bMicrobial Ecology Laboratory, School of Biological and Chemical Science and Ryan Institute, University of Galway, University Road, Galway, H91 TK33, Ireland ARTICLE INFO Keywords: Horizontal gene transfer Plasmid dissemination Biofilm modelling Nonlocal PDEs Metal resistance ABSTRACT In this work, we propose a multidimensional continuum model for plasmid dissemination in biofilms via horizontal gene transfer. The model is formulated as a system of nonlocal partial differential equations derived from mass conservation laws and reaction kinetics principles. Biofilm is modelled as a homogeneous, viscous, incompressible fluid with a velocity given by Darcy’s law. The model considers plasmid-carrying cells as distinct volume fractions and their vertical and horizontal gene transfer via conjugation and natural transformation. The model encompasses local detoxification of biofilm due to plasmid-borne resistance gene and its effect at the community scale. The equations are solved numerically and simulations are performed to investigate how transformation and conjugation regulate the dynamics and the ecology of plasmid spread in both a multidimensional and one-dimensional biofilm system. Model results are able to predict relevant experimentally observed results in plasmid spread, such as the respective intensity of different horizontal gene transfer mechanisms and the importance of selective pressure. Moreover, model results predict coexistence of plasmid-carrying and plasmidfree bacteria even in conditions when one should out-compete the other, offering a simple modelling explanation on global plasmid persistence in bacterial communities. 1. Introduction Biofilms are complex microbial ecosystems in which bacteria are embedded in a matrix of extracellular polymeric substances [1]. The biofilm structure enables a behaviour that is significantly different from that of free-swimming cells [2], and the biofilm mode of life is influenced by the structure and composition of its matrix. Besides providing physical integrity to the biofilm, the matrix of a multispecies biofilm exhibits emergent properties that are not shared with single planktonic or sessile cells. It is composed of water-soluble polysaccharides, proteins, extracellular DNA (eDNA) and other water-insoluble compounds. eDNA has been identified as one of the most frequently found matrix polymers [3] and is produced through different mechanisms, like autolysis or active secretion. Its biological functions include roles in gene transfer, such as a genetic pool allowing for bacteria to take up genetic material for recombination with homologous DNA fragments by natural transformation [4]. eDNA exchange between bacteria by natural transformation is one of the three mechanisms of horizontal gene transfer (HGT). The study of HGT has become a major concern, because HGT is one of the main drivers of dissemination through plasmids of antibiotic resistance genes (ARGs) and metal ∗Corresponding author. E-mail addresses: [email protected] (J. Vincent), [email protected] (A. Tenore), [email protected] (M.R. Mattei), [email protected] (L. Frunzo). https://doi.org/10.1016/j.matcom.2024.08.018 Received 2 May 2024; Received in revised form 5 August 2024; Accepted 15 August 2024 Mathematics and Computers in Simulation 228 (2025) 156–177 157 J. Vincent et al. resistance genes (MRGs). For instance, the MRG merA is responsible for mercury (Hg) reduction, and this gene widespread has been thoroughly reported in the literature [5], up to the High Arctic snow and freshwater [6]. Apart from natural transformation, the other two mechanisms contributing to HGT are conjugation, where genetic material is replicated into a recipient cell by a donor, and transduction, which comes from a replication error during cell contamination by bacterial phages. Conjugation is hypothesized to be the main HGT route, although transformation and transduction remain a significant dissemination route of ARGs [7,8]. Transformation events can apply to chromosomal DNA or mobile genetics elements such as plasmids or transposons. HGT may be favoured in biofilms due to close proximity of cells for donor–receiver contact during conjugation, and by the presence of eDNA in the matrix, allowing higher transformation rates [9]. This makes biofilms an environment favouring the spread of ARGs and MRGs. Additionally, plasmids can spread through cell division, where the plasmid copies are divided between the two daughter cells: this route is called vertical gene transfer (VGT). To the best of our knowledge, natural transformation has been incorporated into only three population-based models [10]. In [11], both a deterministic and a stochastic approach are proposed to model the integration of eDNA into the chromosome through natural transformation. Based on a deterministic approach, the authors propose a system of ordinary differential equations (ODEs) to model the population dynamics of bacterial colonies in the presence of eDNA material. They model natural transformation as a two-phase process: the uptake of foreign DNA, represented by a mass-action rate, and its integration into the chromosome, modelled through a linear rate. They also propose a stochastic model based on the Gillespie algorithm, investigating how stochasticity influences the dynamics and statistical properties of natural transformation. In [12], the authors propose a model coupled to an experimental study applied to a monospecies colony of Azotobacter vinelandii. They model the transformation process through a modified Levin’s mass action kinetics, pointing out that the primary limiting factor for natural transformation is the availability of eDNA. Lastly, in [13], the authors propose a transformation rate based on mass-action kinetics; however, their study primarily centres on the maintenance of natural competence, which facilitates natural transformation. Notably, all these population-based models are 0-dimensional, and based on ODEs. While ODE systems enable easier mathematical analysis thanks to ODE theory, one drawback is the assumption of perfectly mixed environments. By considering spatial variability, models can more accurately capture the complex and dynamic interactions within microbial communities. This approach provides a more realistic representation of the behaviours observed in biofilm formation and development, including the emergence of different subpopulations due to nutrient and contaminant gradients. This is especially relevant when studying plasmid spread as HGT events are conditioned by spatial structure of the bacterial population [14]. To the best of our knowledge, there are currently no models in the existing literature that describe the natural transformation process in a biofilm system. On the other hand, the transfer of plasmids via conjugation has been extensively studied in the modelling literature, through deterministic and stochastic approaches [10]. In [15], the authors developed a continuum model to describe plasmid spread through conjugation within a growing biofilm. This model is formulated as a nonlocal system of partial differential equations in a onedimensional free boundary domain. It is based on the Wanner–Gujer approach [16], which offers valuable insights into biofilm dynamics and is widely acknowledged as an effective method for analysing reactor performance and offering reliable insights into microbial ecology and substrate removal [17]. However, this 1D modelling approach lacks the capability to account for the complex and heterogeneous morphology of biofilms, which can be more accurately described by multidimensional continuum models [18]. A multidimensional approach appears to be well-suited for studying HGT events and plasmid dissemination. Specifically, a multidimensional system allows to capture the increased variability and complexity in spatial relationship and interactions among different biomasses within the biofilm compared to the simpler 1D representation. Additionally, multidimensional models facilitate clearer interpretation of the results such as in [19], and allow for direct comparison with experimental data by defining an appropriate geometry of the domain, as illustrated in [20] for studying a specific collective behaviour observed in biofilms. In this work, our objective is to introduce a multidimensional modelling approach for the dissemination of an MRG plasmid via conjugation and natural transformation in a microbial biofilm. We focus our attention on bacteria carrying merA in their chromosome or in extrachromosomal genetic material, which demonstrate Hg resistance and are able to reduce cationic Hg into its less toxic elemental form, allowing the detoxification of their immediate environment. Therefore, the presence of the merA gene not only benefits the individual bacteria carrying it but has a positive effect at the community scale by reducing the exposure of neighbouring sensitive bacteria to cationic Hg. Additionally, merA spread is relevant because of the importance of microbes in the global transformation and cycling of Hg [21]. Hg is a toxic metal, emitted from natural sources such as volcanic activity and anthropogenic activities such as coal combustion [22]. This very mobile metal is primarily released in its elemental form, which can travel in the atmosphere before being redeposited in aquatic and terrestrial ecosystems in its oxidized form Hg2+ [23]. Its toxicity is due to interference with protein structure and function, of especially monomethyl-Hg and Hg2+ [6]. We neglect mercury methylation and demethylation, processes associated with the merB gene. The model is applied to a groundwater biofilm containing a plasmid encoding the merA gene. There is a great diversity in plasmids, and we consider here plasmids capable of conjugation, natural transformation, both or neither — some examples of such plasmids in groundwater samples are given in [24]. We then develop two-dimensional and one-dimensional simulations to investigate how conjugation and natural transformation influence plasmid spread within a biofilm and how plasmid-borne metal resistance influences plasmid persistence and biofilm ecology. Specifically, the 2D simulations delve into plasmid dissemination into mature biofilm colonies, leveraging the multidimensional nature of the simulations to capture spatial dynamics. Meanwhile, the 1D simulations focus on studying the effect of contamination and the localized detoxification in a growing biofilm and community assembly. The model is formulated as a system of nonlocal partial differential equations (PDEs). Biomass volume fractions are regulated by hyperbolic PDEs with reaction terms modelling biomass growth, decay or conversion. The advective transport of all solidphase fractions is regulated by the volumetric flow u. We assume that the volumetric flow follows Darcy’s law, i.e. its gradient Mathematics and Computers in Simulation 228 (2025) 156–177 158 J. Vincent et al. is proportional to the pressure related to the biomass growth within the biofilm. Subpopulations are discretized depending on if they are carrying a plasmid, expressing the necessary genes allowing conjugation, or incompatible with plasmid carriage. Based on the approach proposed in [15], conjugation is modelled as a density-dependent rate using Levin’s mass-action kinetics, while transformation is modelled as a frequency-dependent rate. We consider decay and EPS production, and model the growth of all active species to depend on a single limiting nutrient. A system of nonlinear parabolic PDEs governs the diffusion-reaction of substrates. Specifically, we model three different soluble compounds, which have distinct interactions with the biomass. The limiting substrate is metabolized during bacterial growth. We also consider eDNA release during cell lysis of decaying bacteria and its assimilation by active, transformation-able cells during natural transformation. Finally, we model the presence of mercury, which inhibits bacterial growth and can be eliminated from the system through reduction by plasmid carriers due to the assumption of the carriage of the merA gene on the considered plasmid. We consider all soluble substrates, except the eDNA, to be supplied by appropriate boundary conditions ensuring an infinite supply at the boundaries of the domain. In 2D, we explicitly model the bulk liquid surrounding the biofilm and consider diffusion/reaction of the substrates in the bulk with different properties than in the biofilm. The paper is organized as follows: Section 2outlines the model assumptions, governing equations and initial/boundary conditions. Section 3presents the application scenarios and discusses the outcomes of the numerical investigations. Section 4 concludes the work. 2. Model presentation As proposed in [25], we consider a biofilm domain enclosed within an open subset of R3: 𝛺= {𝐱= (𝑥, 𝑦, 𝑧),0< 𝑥 < 𝑊 , 0< 𝑦 < 𝐿, 0< 𝑧 < 𝐻},(1) where 𝑊,𝐿, and 𝐻represent the fixed width, length, and height of the domain. This subset is composed of a biofilm region, denoted as 𝐵, and a liquid region, denoted as 𝛺∖𝐵, separated by a surface 𝛤𝐵accounting for the biofilm–liquid interface. We consider two groups of variables, function of space 𝐱and time 𝑡: •𝑛solid-phase biofilm components, expressed in terms of concentration, 𝑋𝑖(𝐱, 𝑡),𝐱∈𝐵, 𝑡 ≥0. •𝑚soluble compounds dissolved in the liquid and biofilm regions, 𝑆𝑗(𝐱, 𝑡),𝐱∈𝛺, 𝑡 ≥0. The distribution and growth of solid-phase components are governed by hyperbolic PDEs while diffusion and reaction of soluble substrates are described by parabolic PDEs. The biofilm density 𝜌is assumed to be constant and equal for all biofilm species; 𝑓𝑖=𝑋𝑖 𝜌,𝐱∈𝐵denotes the volume fraction associated with each biofilm solid-phase component. Such volume fractions are constrained to add up to unity ∑𝑖𝑓𝑖= 1 [26]. We model six solid-phase components 𝐟= (𝑓𝐹, 𝑓𝑁, 𝑓𝑃, 𝑓𝐶, 𝑓𝐸𝑃 𝑆 , 𝑓𝐼), with 𝑓𝑖(𝐱, 𝑡), 𝑖 ∈𝐽𝑓= {𝐹 , 𝑁, 𝑃 , 𝐶, 𝐸𝑃 𝑆, 𝐼}: •Plasmid-free cells compatible with plasmid carriage 𝑓𝐹. They do not carry a plasmid and are sensitive to Hg toxicity. They grow at a basal growth rate and can receive plasmid through horizontal gene transfer mechanisms: conjugation and natural transformation. •Plasmid-free cells incompatible with plasmid carriage 𝑓𝑁. They share all properties with 𝑓𝐹on growth and Hg toxicity but are unable to bear a plasmid and hence do not participate in HGT events. This incompatibility can be due to the plasmid host range or the presence in the cell of a plasmid from the same incompatibility group [24]. •Plasmid-carrying cells 𝑓𝑃. They carry a plasmid and, hence, are not inhibited by Hg2+. However, plasmid maintenance within the cell comes with a fitness cost leading to reduced growth rate. As we consider a plasmid-carrying the merA gene, they are able to perform reduction of cationic mercury into elemental mercury. •Conjugation-able plasmid-carrying cells 𝑓𝐶. They carry a plasmid and are able to combine with plasmid-free cells to produce two plasmid-carrying cells through conjugation. They are produced from 𝑓𝑃through tra gene expression as a response to environmental factors such as receiver cells density, contaminants concentration and cellular fitness. •Extracellular polymeric substances (EPS) 𝑓𝐸𝑃 𝑆 . They are produced as a byproduct of metabolic growth and participate in the biofilm’s structure and integrity. •Inert biomass 𝑓𝐼. It accumulates as a result of decay of all active microbial species. Notably, we model conjugation here as a direct conversion from free cells to plasmid-carrying cells, omitting the exhausted donor and transconjugant states, as they have a marginal impact on biofilm dynamics [15]. We consider three soluble compounds 𝐒= (𝑆𝑁, 𝑆𝐻𝑔, 𝑆𝑒𝐷𝑁𝐴), with 𝑆𝑗(𝐱, 𝑡), 𝑗 ∈𝐽𝑆= {𝑁, 𝐻𝑔, 𝑒𝐷𝑁𝐴}: •One limiting nutrient 𝑆𝑁. It is consumed by all active bacterial species during growth. Additionally, it is included in the gene expression rate as a Monod term to account for the influence of cellular fitness in gene expression. •Cationic mercury 𝑆𝐻𝑔. It inhibits growth of all plasmid-free cells due to its high toxicity and is reduced by plasmid-carrying cells. We do not explicitly model elemental mercury due to its lower toxicity [27]. •eDNA 𝑆𝑒𝐷𝑁𝐴. It is released during cell lysis of plasmid-carrying cells and is consumed when assimilated by a cell during natural transformation. Here, we only model plasmid eDNA and neglect any other type as this work focuses on the horizontal gene transfer of plasmid-borne resistance factors. The interactions between different solid-phase species are summarized in Fig. 1. Governing equations and reaction rates for solid-phase species and soluble compounds are detailed in the next sections. Mathematics and Computers in Simulation 228 (2025) 156–177 159 J. Vincent et al. Fig. 1. Schematic representation of the modelled biological network. 2.1. Biomass modelling The transport and growth of solid-phase components 𝑓𝑖(𝐱, 𝑡)within the biofilm domain 𝐵are modelled by the following system of hyperbolic equations: 𝜕𝑓𝑖 𝜕𝑡 + ∇ ⋅(𝐮𝑓𝑖) = 𝑅𝑀,𝑖(𝐱,𝐟,𝐒),𝐱∈𝐵, 𝑡 > 0, 𝑖 ∈𝐽𝑓,(2) where 𝑅𝑀,𝑖 represents the reaction term associated with biomass fraction 𝑖, accounting for growth, decay and conversion processes. The volumetric flow 𝐮=𝐮(𝐱, 𝑡)regulates the advective transport of all biofilm components. It is assumed to satisfy Darcy’s law: 𝐮= −𝜆𝑃∇𝑝, (3) where 𝑝=𝑝(𝐱, 𝑡)is the pressure and 𝜆𝑃>0is the Darcy constant. As 𝑝is proportional to 𝜆−1 𝑃(see discussion in [25]), we can fix 𝜆𝑃= 1 without affecting the results. By summing Eq. (2) over 𝑖, and considering ∑𝑖𝑓𝑖= 1, we get [25]: − ∇2𝑝=∑ 𝑖 𝑅𝑀,𝑖,𝐱∈𝐵, 𝑖 ∈𝐽𝑓.(4) Mathematics and Computers in Simulation 228 (2025) 156–177 160 J. Vincent et al. The reaction terms 𝑅𝑀,𝑖 are detailed as follows: ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ 𝑅𝑀,𝐹 =𝜇(1 − 𝑘𝐸𝑃 𝑆 )𝐾𝐼,𝑀 𝐾𝐼,𝑀 +𝑆𝐻𝑔 𝑓𝐹 ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Growth −𝛾𝐶𝑓𝐹𝑓𝐶 ⏟⏞⏟⏞⏟ Conjugation −𝜏𝑇𝑓𝐹(1 − 𝑒−𝛾𝑇 𝑆𝑒𝐷𝑁𝐴 𝜌𝑓𝐹) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Transformation −𝑘𝑑𝑓𝐹 ⏟⏟⏟ Decay , 𝑅𝑀,𝑁 =𝜇(1 − 𝑘𝐸𝑃 𝑆 )𝐾𝐼,𝑀 𝐾𝐼,𝑀 +𝑆𝐻𝑔 𝑓𝑁 ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Growth −𝑘𝑑𝑓𝑁 ⏟⏟⏟ Decay , 𝑅𝑀,𝑃 =𝜇(1 − 𝑘𝐸𝑃 𝑆 )(1 − 𝜆)𝑓𝑃 ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Growth −𝜂(𝑆𝐻𝑔)𝑆𝑁 𝑆𝑁+𝐾𝑁∫𝐵 𝐾(𝐱−𝜉 𝜉 𝜉)𝑓𝐹(𝜉 𝜉 𝜉, 𝑡)𝑑𝐵 +𝜏𝑏𝑢𝑟𝑠𝑡𝑓𝐶 ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Gene expression: - ON + OFF , +𝛾𝐶𝑓𝐹𝑓𝐶 ⏟⏞⏟⏞⏟ Conjugation +𝜏𝑇𝑓𝐹(1 − 𝑒−𝛾𝑇 𝑆𝑒𝐷𝑁𝐴 𝜌𝑓𝐹) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Transformation −𝑘𝑑𝑓𝑃 ⏟⏟⏟ Decay , 𝑅𝑀,𝐶 =𝜂(𝑆𝐻𝑔 )𝑆𝑁 𝑆𝑁+𝐾𝑁∫𝐵 𝐾(𝐱−𝜉 𝜉 𝜉)𝑓𝐹(𝜉 𝜉 𝜉, 𝑡)𝑑𝐵 −𝜏𝑏𝑢𝑟𝑠𝑡𝑓𝐶 ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Gene expression: ON - OFF −𝛾𝐶𝑓𝐹𝑓𝐶 ⏟⏞⏟⏞⏟ Conjugation , 𝑅𝑀,𝐸𝑃 𝑆 =𝜇𝑘𝐸𝑃 𝑆 (𝐾𝐼,𝑀 𝐾𝐼,𝑀 +𝑆𝐻𝑔 (𝑓𝐹+𝑓𝑁) + (1 − 𝜆)𝑓𝑃) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ EPS production , 𝑅𝑀,𝐼 =𝑘𝑑(𝑓𝐹+𝑓𝑁+𝑓𝑃) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Decay , where: •Growth-associated terms are modelled as Monod kinetics, dependent on one limiting substrate 𝑆𝑁and inhibited, in the case of plasmid-free cells, by mercury 𝑆𝐻𝑔. In the growth expressions, 𝐾𝐼,𝑀 is the Hg half-inhibition constant, 𝜆is the fitness cost of plasmid carriage, 𝑘𝐸𝑃 𝑆 is the fraction of EPS produced during bacterial growth. The basal growth rate common to all active species is 𝜇=𝜇𝑚𝑎𝑥𝑆𝑁∕(𝑆𝑁+𝐾𝑁), where 𝜇𝑚𝑎𝑥 is the maximum growth rate and 𝐾𝑁is the Monod half-saturation coefficient. •Conjugation is depicted as a density-dependent process, due to the necessity of contact between a donor and a recipient cell to occur. Consistently with the modelling literature [10], conjugation is modelled as a mass action kinetics associated with the rate constant 𝛾𝐶. •Transformation, on the other hand, is modelled as a frequency-dependent process, considering that the primary factor affecting natural transformation is the availability of natural eDNA [12], while the abundance of plasmid-free cells plays a marginal role on this process, as only a fraction of them will be transformation-able [13]. Natural transformation is frequently modelled as a density-dependent process [12,13], meaning that the rate of new plasmid eDNA assimilation increases linearly with the abundance of available eDNA and compatible bacteria. However, our frequency-dependent approach appears more appropriate when dealing with very low concentrations of eDNA, and takes into account that one unit of eDNA interacting with one receiver cell may not lead to one natural transformation event, and one unit of eDNA cannot interact with more than one potential receiver cell. Importantly, this approach guarantees that, at any given time and space, the quantity of eDNA being assimilated by bacteria and the number of bacteria assimilating eDNA cannot exceed the total count of bacteria or eDNA in the system [28]. The maximum transformation rate 𝜏𝑇and natural transformation coefficient 𝛾𝑇were determined from the experimental data reported in [12]. •Decay is modelled as a linear rate associated with the decay constant 𝑘𝑑, assumed identical for all cellular states. •Gene expression is modelled as a nonlocal process to account for recipient-sensing mechanisms, as introduced in [15]. It depends on a Monod term as a proxy for cellular fitness determined based on nutrient availability and is promoted by Hg through the function 𝜂(𝑆𝐻𝑔) = (1 + 𝜀𝑆𝐻𝑔 )𝑒𝑥𝑝 (−(𝑆𝐻𝑔∕𝑚)𝑎), where 𝑎,𝑚are gene expression inhibition factors and 𝜀is a gene expression promotion factor. Details on calibration of this function can be found in [15]. The integral term models the regulation of gene expression based on recipient sensing, with a convolution of the plasmid-free fraction 𝑓𝐹and a Gaussian kernel 𝐾(𝐱−𝜉 𝜉 𝜉)accounting for recipient-sensing limits. We adapt the 1D kernel function introduced in [15] to our multidimensional domain: 𝐾(𝐱−𝜉 𝜉 𝜉) = 𝑒𝑥𝑝(−𝑘𝑂𝑁 ‖𝐱−𝜉 𝜉 𝜉‖2), where ‖𝐱−𝜉 𝜉 𝜉‖represents the Euclidean norm, while 𝑘𝑂𝑁 is a scale parameter influencing the extension of the recipient-sensing mechanism. The gene expression is modelled as a burst associated with a linear relaxation rate, with 𝜏𝑏𝑢𝑟𝑠𝑡 accounting for the duration of a burst. 2.2. Soluble compounds modelling The transport and conversion of soluble compounds within the biofilm are modelled through a system of diffusion-reaction equations: 𝜕𝑆𝑗 𝜕𝑡 −𝐷𝑗,𝐵∇2𝑆𝑗=𝑅𝑗,𝐵 ,𝐱∈𝐵, 𝑡 > 0, 𝑗 ∈𝐽𝑆,(5) Mathematics and Computers in Simulation 228 (2025) 156–177 161 J. Vincent et al. Fig. 2. Two-dimensional illustration of the domain 𝛺with subsets 𝐵(biofilm) and 𝛺∖𝐵(liquid) and boundaries 𝛤𝐵(biomass–liquid interface, in black), 𝛤𝑆 (biofilm-substratum interface, in red) and 𝛤𝐿,1,𝛤𝐿,2and 𝛤𝐿,3(liquid–substratum interface, in blue). (For interpretation of the references to colour in this figure legend, the reader is referred to the web version of this article.) while a system of homogeneous diffusion equations governs the transport in the liquid region, where biological conversion processes are not considered. 𝜕𝑆𝑗 𝜕𝑡 −𝐷𝑗,𝑊 ∇2𝑆𝑗= 0,𝐱∈𝛺∖𝐵, 𝑡 > 0, 𝑗 ∈𝐽𝑆.(6) 𝐷𝑗,𝐵 and 𝐷𝑗,𝑊 are the diffusivity coefficients of soluble compound 𝑗in the biofilm and in water, respectively. 𝑅𝑗,𝐵 denotes the reaction term associated with soluble compound 𝑗conversion in the biofilm, and are detailed as follows: ⎧ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎨ ⎪ ⎪ ⎪ ⎪ ⎪ ⎪ ⎩ 𝑅𝑆,𝑁 = − 𝜌 𝑌𝑁 𝜇(𝐾𝐼,𝑀 𝐾𝐼,𝑀 +𝑆𝐻𝑔 (𝑓𝐹+𝑓𝑁)+ (1 − 𝜆)𝑓𝑃) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Consumption related to metabolic activities , 𝑅𝑆,𝐻𝑔 = − 𝐾𝜌𝑣𝑚𝑎𝑥 1 + 𝐾𝑆,𝑅 𝑆𝐻𝑔 +𝑆𝐻𝑔 𝐾𝐼,𝑅 𝑓𝑃 ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Reduction , 𝑅𝑆,𝑒𝐷𝑁𝐴 =𝜌𝑌𝑃𝑘𝑑𝑓𝑃 ⏟⏞⏞⏟⏞⏞⏟ Release during cell lysis −𝜌𝑌𝑃 𝑁𝑃 𝜏𝑇𝑓𝐹(1 − 𝑒−𝛾𝑇 𝑆𝑒𝐷𝑁𝐴 𝜌𝑓𝐹) ⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏞⏟ Assimilation by transformation , where •Consumption of 𝑆𝑁is related to the metabolic growth of active species through the yield 𝑌𝑁. •Mercury reduction is modelled as a Haldane type kinetics. 𝑣𝑚𝑎𝑥 is the maximum specific reduction rate observed for states without inhibition, 𝐾𝑆,𝑅 is the Michaelis–Menten constant associated with the half maximum rate if no inhibition exists and 𝐾𝐼,𝑅 is the inhibition constant associated with Hg reduction. All parameters were defined and calculated with experimental data from [27] (see the Appendix for details). Notably, the reduction kinetics were calculated for chromosomal carriage of the mer gene, but in the case of plasmid-borne resistance, multiple plasmid copies in the same cell may lead to a higher reduction rate. This is accounted for through the dimensionless coefficient 𝐾. Mercury bio-accumulation through precipitation and complexation within the biofilm are neglected. •Release of plasmid eDNA occurs in the biofilm during cell lysis, when cells decay. 𝑌𝑃denotes the yield of plasmid eDNA released per unit of biomass. During cell decay, all plasmid copies within the cell are released, while only one copy is required for a transformation event. This is taken into account through the parameter 𝑁𝑃, representing the plasmid copy number, i.e. the number of circular DNA units present in the cell. Importantly, we consider that the time of plasmid replication within the cell is negligible compared to other plasmid dynamics; then we model the uptake and replication as a single step. Notably, we do not model explicitly the eDNA biotic and abiotic degradation but enforce its removal through homogeneous Dirichlet boundary conditions. 2.3. Initial and boundary conditions A two-dimensional representation of our computational domain 𝛺is reported in Fig. 2. Lateral and bottom boundaries of 𝛺are in contact with an impermeable substratum, whereas the top boundary is in contact with a bulk liquid with prescribed properties. As already mentioned, 𝛺is composed of the biofilm region 𝐵and the liquid region 𝛺∖𝐵, separated by the curve 𝛤𝐵. Additionally, 𝛤𝐿,1indicates the top boundary, 𝛤𝐿,2and 𝛤𝐿,3denote the liquid–substratum interfaces, and 𝛤𝑆represents the biofilm-substratum interface. Mathematics and Computers in Simulation 228 (2025) 156–177 162 J. Vincent et al. Eq. (4) is associated with a homogeneous Dirichlet condition at the biofilm–liquid interface 𝛤𝐵as the pressure is significantly lower in the bulk liquid compared to the biofilm 𝑝(𝐱, 𝑡)=0,𝐱∈𝛤𝐵, 𝑡 ≥0.(7) Homogeneous Neumann boundary conditions are set at the biofilm-substratum interface for Eq. (4), assuming that the substratum is impermeable to mass transfer −𝐧⋅(𝜆𝑃∇𝑝(𝐱, 𝑡)) = 0,𝐱∈𝛤𝑆, 𝑡 ≥0.(8) where 𝐧is the outward normal to the boundary domain. We consider Neumann–Dirichlet boundary conditions for Eqs. (5) and (6). A Dirichlet condition at the boundary 𝛤𝐿,1ensures either an infinite reservoir or forces the degradation of substrates 𝑆𝑗(𝐱, 𝑡) = 𝑆∗ 𝑗(𝐱, 𝑡),𝐱∈𝛤𝐿,1, 𝑡 > 0, 𝑗 ∈𝐽𝑆,(9) where 𝑆∗ 𝑗is a prescribed concentration of soluble substrate 𝑗. Homogeneous Neumann conditions at the other boundaries model the impermeable surface of the substratum 𝐧⋅∇𝑆𝑗= 0,𝐱∈𝛤𝐿,2∪𝛤𝐿,3∪𝛤𝑆, 𝑡 > 0, 𝑗 ∈𝐽𝑆.(10) Continuity of solution and flux is imposed for 𝑆𝑗at the biofilm–liquid interface 𝛤𝐵: 𝑆𝑗(𝐱−, 𝑡) = 𝑆𝑗(𝐱+, 𝑡),𝐱∈𝛤𝐵,(11) −𝐷𝑗,𝐵∇𝑆𝑗(𝐱−, 𝑡)⋅𝐧= −𝐷𝑗,𝑊 ∇𝑆𝑗(𝐱+, 𝑡)⋅𝐧,𝐱∈𝛤𝐵.(12) Finally, initial conditions are provided for Eqs. (2),(5),(6): 𝑓𝑖(𝐱,0) = 𝑓𝑖,0(𝐱),𝐱∈𝐵, 𝑖 ∈𝐽𝑓,(13) 𝑆𝑗(𝐱,0) = 𝑆𝑗,0(𝐱),𝐱∈𝛺, 𝑗 ∈𝐽𝑆,(14) where 𝑆𝑗,0is the initial concentration of the 𝑗th soluble substrate in the computational domain, and 𝑓𝑖,0is the initial fraction of the 𝑖th solid-phase component in the biofilm region. 3. Numerical investigation We carried out one and two-dimensional numerical studies to investigate the model behaviour. We examine a groundwater biofilm with oligotrophic growth kinetics [29] in a Hg-contaminated environment, focusing on the impact of Hg contamination on the spread and persistence of plasmids, as well as the effects of horizontal gene transfer events on biofilm ecology and Hg contamination dynamics. Parameter values are given in Table 1. They all come from experimental or modelling literature, except the plasmid copy number 𝑁𝑃, the mass ratio plasmid:cell 𝑌𝑃and the reduction scaling parameter 𝐾, which were assumed in the range of expected values from a biological standpoint. We approximate plasmid DNA to be 0.1% of cell weight (𝑌𝑃= 0.001). Parameters related to gene expression come from our previous work on gene expression and conjugation; the full discussion on these parameters and their values can be found in [15]. We consider diffusion in the biofilm to be 80% of values in water, i.e. 𝐷𝑗,𝐵 = 0.8𝐷𝑗,𝑊 for substrate 𝑗. This is a common practise in biofilm modelling literature [16] and is in agreement with the range of values provided from the experimental literature [30,31]. We consider the limiting nutrient to be dissolved organic carbon (DOC) and selected the half-saturation constant, yield and diffusion coefficient accordingly. 3.1. 2D simulations - Plasmid persistence and biofilm ecology The model presented here is implemented in a two dimensional domain to analyse how HGT influences plasmid spread. We consider here a prefixed biofilm domain to explore plasmid dissemination in mature biofilm communities in extended simulation times, with the aim to capture long-term trends and average behaviours. More specifically, we investigate two distinct biofilm configurations (defined in Sections 3.1.1 and 3.1.2, respectively), to highlight the different role of conjugation and natural transformation in plasmid ecology. Numerical simulations are performed on Comsol Multiphysics platform (v. 5.4). The numerical studies rely on the hypothesis that the biofilm surface erosion is characterized by an erosion speed assumed each time step equal to the normal interface velocity which characterizes the biomass movement and is related to the biomass growth [39]. Apart from being a common practise in 1D biofilm modelling [40,41], this results in a steady-state configuration for the biofilm colony which allows us to focus primarily on the phenotypic exchanges constituting the core of the model, minimizing the extra complexity deriving from the explicit tracking of the biofilm–liquid interface. The computational domain 𝛺was defined as a rectangular domain of width and height 𝑊×𝐻, 700×2000 μm. The biofilm–liquid boundary was generated by interpolating points randomly placed in the range 100–400 μm along the 𝑦-axis, in the typical range of Mathematics and Computers in Simulation 228 (2025) 156–177 163 J. Vincent et al. Table 1 Parameter values used for model simulations. Parameter Definition Value Unit Ref. 𝜇𝑚𝑎𝑥 Maximum specific growth rate 6.0 d−1 [17] 𝐾𝑁Half saturation constant for DOC 4.0 g m−3 [17] 𝑌𝑁Yield bacteria on DOC 0.63 −− [17] 𝑘𝑑Decay rate of bacteria 0.08 d−1 [17] 𝑘𝐸𝑃 𝑆 𝐸𝑃 𝑆 fraction produced during bacterial growth 0.18 −− [32] 𝜌Biofilm density 5000 g m−3 [16] 𝐷𝑁,𝑊 Diffusion coefficient of nutrient 𝑁(DOC) in water 1⋅10−4 m2d−1 [16] 𝐷𝐻𝑔,𝑊 Diffusion coefficient of Hg in water 6⋅10−5 m2d−1 [15] 𝐷𝑒𝐷𝑁𝐴,𝑊 Diffusion coefficient of eDNA in water 1.2⋅10−10 m2d−1 [33,34] 𝐾𝐼,𝑀 Inhibition constant by metal toxicity (Hg) 0.092 g m−3 [35] 𝜆Fitness cost of plasmid carriage 0.25 −− [36] 𝑁𝑃Plasmid copy number 100 −− Assumed 𝑌𝑃Mass ratio plasmid:cell 0.001 −− Assumed 𝜈𝑂𝑁 Gene expression regulation rate 2.5⋅104(a) [15] 𝛾𝐶Conjugation rate constant 24 d−1 [15] 𝛾𝑇Transformation constant 2⋅10−5 −− [12] 𝑡𝑎𝑢𝑇Maximum transformation rate 24 d−1 [12] 𝑘𝑂𝑁 Gene expression regulation coefficient 1⋅1010 m−2 [15] 𝜏𝑏𝑢𝑟𝑠𝑡 Gene expression burst rate 8 d−1 [37] 𝑎Gene expression inhibition factor 2.8 −− [38] 𝑚Gene expression inhibition factor 1.5 g m−3 [38] 𝜀Gene expression promotion factor 2.6 m3g−1 [38] 𝑣𝑚𝑎𝑥 Maximum specific reduction rate without inhibition 3.66 d−1 [27] 𝐾𝑆,𝑅 Constant associated with the half-maximum rate for states without inhibition 5.05 g m−3 [27] 𝐾𝐼,𝑅 Reduction inhibition constant 1.97 g m−3 [27] 𝐾Reduction scaling coefficient varied: 1 − 5 −− Assumed (a) The unit of 𝜈𝑂𝑁 is m−1d−1 for a 1D domain or m−2d−1 for a 2D domain. Table 2 Boundary values used for 2D model simulations. Boundary conditions Variable Value Unit 𝑆∗ 𝑁1g m−3 𝑆∗ 𝐻𝑔 varied: 0.05 − 0.20 g m−3 𝑆∗ 𝑒𝐷𝑁𝐴 0g m−3 biofilm thickness. The biofilm region 𝐵was discretized through an extremely fine grid (see Fig. 3 - Top), enabling accurate numerical integration of the nonlocal hyperbolic and diffusion–reaction equations. On the other hand, the liquid region 𝛺∖𝐵was discretized using a coarser mesh, which proved to be sufficient for obtaining accurate integration of homogeneous diffusion equations. The prescribed concentration values of soluble substrates on 𝛤𝐿,1,𝑆∗ 𝑗, are reported in Table 2. The initial concentration values of soluble substrates 𝑆𝑗,0are assumed the same as 𝑆∗ 𝑗. The initial biofilm composition varies and will be specified for each model simulation. 3.1.1. Comparative influence of conjugation, natural transformation and VGT on plasmid spread The purpose of this simulation set is to compare the relative impact of VGT with the two mechanisms of HGT considered here: conjugation and transformation. To this aim, we consider an initial mature biofilm of typical thickness, composed entirely of plasmidfree cells (with a ratio of plasmid compatible:incompatible of 50:50), except a radial hotspot of plasmid carriers (as depicted in Fig. 3 - Bottom). Biologically, this could come from the attachment onto a pre-existing biofilm of a cluster of cells carrying the plasmid. We assess the comparative impact of conjugation, transformation, and VGT by monitoring the distribution of plasmids over extended simulation periods (700 days). This evaluation is conducted in scenarios where transformation and/or conjugation have been disabled, as outlined in Table 3. Fig. 4 illustrates the evolution of 𝑓𝑃for all scenarios at various time points. In NS1a, where no HGT mechanism is enabled, VGT still leads to a visible fraction of plasmid carriers throughout the biofilm. The competition for space and nutrients between plasmid-free and plasmid-carrying cells boils down to a comparison between the fitness cost associated with plasmid carriage for the latter against the inhibition by Hg for the former. In particular, the fitness cost Mathematics and Computers in Simulation 228 (2025) 156–177 164 J. Vincent et al. Fig. 3. (Top) Numerical discretization of the 2D computational domain for simulation purposes. (Bottom) Initial distribution of plasmid-carrying cells within the biofilm for NS1a, NS1b, NS1c, and NS1d. Table 3 Scenarios considered to highlight the importance of HGT events in plasmid dissemination. Scenario Transformation enabled Conjugation enabled NS1a NO NO NS1b YES NO NS1c NO YES NS1d YES YES corresponds to a 25% reduction in growth for plasmid carriers, while the same reduction applies to plasmid-free cells when the Hg concentration exceeds 0.030 g m−3. With the fitness cost fixed, the competition between plasmid-carrying and plasmid-free cells is governed by the mercury profile within the ecosystem. This explains why the highest abundance of plasmid carriers is found in the outermost layers of the biofilm, where inhibition of plasmid-free cells is significantly strong due to the elevated concentration of mercury (depicted in Fig. 7 and discussed later). Additionally, the greater availability of nutrients in the outer layers fuels more sustained metabolic activity overall. The coexistence of plasmid-carrying and plasmid-free cells under Hg selective pressure is highly sensitive to the assigned values of fitness cost and parameters related to Hg-induced inhibition. In natural environments, these values fluctuate based on several factors, such as taxonomy and environmental conditions [42]. Even minor changes in fitness cost or the degree of Hg-induced bacterial inhibition can tip the scales, favouring either the plasmid-free or plasmid-carrying populations. This sensitivity underscores the importance of precise parameter estimation in predicting the outcomes of microbial competition under Hg selective pressure. In our study, we use parameter values within the typical range reported in the literature, which reflect a broader bacterial community and appear to be suitable for a representative description of the long-term dynamics and spread of plasmids at the community level. An additional key observation drawn from Fig. 4 is that natural transformation has a very slight impact on plasmid spread in these simulations. Specifically, the plasmid distribution in NS1a closely resembles that of NS1b, and likewise, NS1c exhibits a similar pattern to NS1d. This is attributed to the fact that, quantitatively, the transformation fluxes exhibit very low amplitudes (see Fig. 5), which do not significantly influence the distribution of plasmid carriers within the biofilm. The low amplitudes observed in the model results are consistent with transformation rates measured in experimental and previous modelling studies [10]. The natural transformation process relies on the presence of plasmid-free cells (potential receivers) and the availability of eDNA for assimilation, which in turn depends on the fraction of plasmid-carrying bacteria. This is evident in Fig. 5, where the distribution of compatible plasmid-free cells and eDNA across the biofilm are depicted at different times. Early on, the eDNA exhibits a strong gradient due to its localized production around the hotspot of plasmid-carrying bacteria. However, as plasmid carriers colonize the entire biofilm, the transformation process occurs more uniformly throughout the aggregate. Interestingly, the limiting factor Mathematics and Computers in Simulation 228 (2025) 156–177 171 J. Vincent et al. Fig. 12. Total active species fraction (𝑓𝐹+𝑓𝑃+𝑓𝑁+𝑓𝐶) after 1000 days for biofilms exposed to Hg concentrations of 0.2 g m−3 (a) in the case of an initial colony of plasmids, (b) in the case with no plasmids at all. Fig. 13. Evolution in time of the overall mass of plasmid-carrying, plasmid-free and inert material for biofilms exposed to Hg concentrations of 0.2gm−3 in the case of an initial colony of plasmids (NS2d), in the case with no plasmids at all (NS2e). Note that the plasmid-carrying mass is not displayed for (NS2e), as it is always zero. to be very small (𝐿0= 25 μm), describing an initial biofilm colony. The detachment coefficient 𝛿is set to 500 m−1 d−1. Numerical simulations are performed by using an in-house Matlab code. In the following set of numerical simulations, we investigate how Hg selective pressure and its reduction influence the balance between plasmid-free and plasmid-carrying cells in a growing biofilm. More specifically, we vary the reduction scaling coefficient 𝐾and the limiting nutrient concentration at the biofilm–liquid interface 𝑆∗ 𝑗, to assess how they influence the Hg gradients and the Mathematics and Computers in Simulation 228 (2025) 156–177 172 J. Vincent et al. Table 5 Initial biofilm fractions and boundary concentration values for substrates used for 1D model simulations. Initial biofilm fractions Variable Value Unit 𝑓𝐹 ,00.45 −− 𝑓𝑁,00.45 −− 𝑓𝑃 ,00.1 −− 𝑓𝐶,0,𝑓𝐼,0,𝑓𝐸𝑃 𝑆,00−− Boundary concentration values for substrates Variable Value Unit 𝑆∗ 𝑁varied: 1−10 g m−3 𝑆∗ 𝐻𝑔 0.05 g m−3 𝑆∗ 𝑒𝐷𝑁𝐴 0g m−3 Fig. 14. Distribution of biofilm volume fractions after 300 days of simulation, for 𝑆∗ 𝑁= 1,5,10 g m−3 and 𝐾= 1,2,5. biofilm ecology. The reason for varying 𝐾relies on the fact that the reduction kinetics were calculated for chromosomal carriage of the mer gene, but in the case of plasmid-borne resistance, multiple plasmid copies in the same cell may lead to a higher reduction rate. Note that 𝐾scales the reduction intensity in a non-proportional way to the plasmid copy number, due to potential discrepancies in gene expression and the catalytic nature of the reaction [27]. We run a total of nine numerical simulations, combining three values of nutrient concentration at the biofilm–liquid interface (𝑆∗ 𝑁= 1,5,10 g m−3) and three values of the reduction scaling coefficient (𝐾= 1,2,5). The steady-state microbial distribution after 300 days of simulation is presented in Fig. 14. The nutrient concentration affects very noticeably the biofilm thickness; indeed, the latter is regulated by a balance between growth rates and detachment fluxes (see Eq. (15)). Higher nutrient concentrations inevitably leads to higher growth rates, which results in a thicker biofilm for constant detachment coefficient. In all cases, we can observe a coexistence of plasmid-carrying and plasmid-free cells (both compatible and incompatible with plasmid carriage). The second key observation is that an increase in the reduction scaling coefficient or the nutrient concentration results in a decreasing abundance of plasmid carriers after 300 days. These results are evidenced further in Fig. 15, where the steady-state masses of each solid-phase species (a, b, c) and Hg gradients within the biofilm (d, e, f) are displayed. In each case, the biofilm consists of active species at approximately 60%, the rest being EPS and inert material. The Hg profiles across the biofilm shown in Fig. 15-d, e, f evidence similar levels at the biofilm substratum for each parameter pair. To elucidate this behaviour, it is crucial to remember that the abundance of plasmid-carrying bacteria in the biofilm regulates and, in turn, is regulated by the Hg profile. These bacteria play a role in detoxifying the ecosystem by reducing the metal, thus Mathematics and Computers in Simulation 228 (2025) 156–177 173 J. Vincent et al. Fig. 15. Total masses of solid-phase species (a, b, c) and Hg concentration (d, e, f) at 𝑡= 300 days, for 𝑆∗ 𝑁= 1,5,10 g m−3 and 𝐾= 1,2,5. Biofilm surface area 𝐴= 1 m2. fostering more favourable conditions for the proliferation of plasmid-free bacteria and enhancing their competitiveness. Then, in each scenario, plasmid carriers reach levels that enable comparable partial detoxification of Hg, and allow plasmid-free cells to grow despite their sensitivity to Hg inhibition. In other words, the balance between plasmid-free and plasmid-carrying is mainly regulated by the overall reducing power of the biofilm. However, complete Hg detoxification is not achievable; when Hg levels are too low, plasmid-free bacteria become more competitive, out-competing plasmid carriers and lowering Hg reduction. These model results highlight the interactions and interdependence of bacteria with different metabolisms and sensitivities to external stress, and how it shapes community assembly. Increasing the value of 𝐾leads to a decrease in the total mass of plasmid-carrying within the biofilm, because the same reducing capacity of the overall biofilm can be achieved with a smaller amount of plasmids. We can observe a not relevant difference (less than 3%) in the amount of Hg reaching the substratum, which decreases as 𝐾increases. The biofilm thickness is unaffected by changes in the reduction kinetics, which only impacts the proportion of plasmid-carrying to plasmid-free bacteria within the biofilm. Increasing the concentration of the limiting nutrient leads to a thicker biofilm and a lower abundance of plasmid carriers, as demonstrated in Fig. 14. However, remarkably, a slight decrease in Hg concentration at the substratum is observed with increasing nutrient concentration (Fig. 15 - d, e, f). This result, when compared with the trend in the mass of plasmid carriers, may seem counterintuitive. One might expect that a higher mass of Hg-reducing biomass would be necessary to achieve higher Hg detoxification. However, this outcome can be elucidated by considering the diffusion-reaction dynamics of substrates: thicker biofilms involve more pronounced diffusion limitations, which further restrict metal concentration within the biofilm, resulting in a diminished abundance of plasmid carriers required to establish favourable conditions for the growth of plasmid-free cells. This finding serves as a perfect illustration of the role of biofilm systems in providing shelter to microbial organisms from environmental stressors and amplifying interactions between bacteria with different metabolisms and sensitivities. Finally, to investigate the initiation of the biofilm and the community assembly during the early stages of biofilm formation, we present in Fig. 16 the time evolution of the average Hg concentration within the biofilm (top), computed as ∫𝐿(𝑡) 0𝑆𝐻𝑔(𝑧, 𝑡)∕𝐿(𝑡)𝑑𝑧 and the total mass of plasmid-carrying and incompatible plasmid-free cells (bottom), computed as 𝜌𝐴 ∫𝐿(𝑡) 0𝑓𝑖(𝑧, 𝑡)𝑑𝑧, 𝑖 ∈ {𝑃 , 𝑁}, with 𝐴denoting the biofilm surface area. We chose to display the incompatible plasmid-free bacteria and not their compatible counterpart as they are not influenced by HGT processes. This makes them a better target for evaluating the Hg-driven metabolic competition with plasmid carriers. Across all scenarios, a consistent pattern emerges: an initial phase of exponential growth where all biomass increases rapidly, followed by a peak and subsequent decline in mass attributed to nutrient limitation and accumulation of inert material as the biofilm reaches its steady-state thickness. During the exponential growth phase, Hg concentration decreases due to plasmid-associated reduction, which promotes the growth of plasmid-free cells. However, as the biofilm reaches the steady-state thickness and inert material accumulates, the decrease in active species leads to a drop in Hg reduction. The subsequent increase in Hg concentration leads to plasmid-free cells out-competing plasmid carriers. Eventually, the average Hg concentration stabilizes at a comparable steady-state level for all parameter pairs (average value of 0.0347 g m−3 with a standard deviation of 0.00055 g m−3). Nevertheless, differences in the magnitude of these processes are noticeable: for increasing values of 𝐾and 𝑆𝑁, the valley in Hg concentration is lower, corresponding to a higher increase in the mass of plasmid-free bacteria within the biofilm. This variation of intensity and amplitude is more pronounced when varying nutrient concentration compared to the 𝐾value, as they stem from different reasons. For increasing 𝑆𝑁, more nutrient available leads to a higher peak in the plasmid-carrying mass in the initial stage and hence lower levels of Hg. Then, as the biofilm reaches its steady-state thickness, higher diffusion limitations affect Hg and nutrient gradients. As the value of the fraction of active species lower due to more pronounced nutrient limitation, the overall Mathematics and Computers in Simulation 228 (2025) 156–177 174 J. Vincent et al. Fig. 16. Time evolution of average Hg concentration (a, b, c) and total mass of 𝑓𝑃,𝑓𝑁(d, e, f) within the biofilm, for 𝑆∗ 𝑁= 1,5,10 g m−3 and 𝐾= 1,2,5. Biofilm surface area 𝐴= 1 m2. reducing capacity of the biofilm reduces and induce an increase in Hg concentration until it reaches its steady-state value. On the other hand, the initial dynamics of biomass growth are not significantly influenced by 𝐾. Then, for increasing 𝐾, the mass trend of plasmid-carrying bacteria does not vary as much in the initial stage, and the increased reduction rate induces lower Hg values. Later on, the overall biofilm tends to reach a specific steady-state reducing capacity regardless of the 𝐾value. In this steady-state configuration, the amount of plasmid-carrying bacteria is inversely proportional to 𝐾, as already illustrated in Figs. 14–15. Moreover, an increase in nutrient concentration results in an earlier peak (occurring after 12, 9 and 8 days for 𝑆𝑁= 1,5,10 g m−3, respectively) as a higher nutrient availability leads to a more significant exponential growth phase. The lower the Hg valley, and the higher the associated mass of 𝑓𝑁peak; despite Hg concentrations reaching the same steady-state value, it is not the case for masses of microorganisms. Interestingly, a particular combination of (𝐾,𝑆𝑁) shows a different trend than all others (Fig. 16-d): for (𝐾= 1,𝑆𝑁= 1 g m−3), the mass of 𝑓𝑃increases after approximately 25 days, coinciding with a decrease in the mass of 𝑓𝑁. In contrast, for all other simulations, the opposite trend is observed. This can be explained by the fact that, in this specific case, when the biofilm reaches its steady-state thickness (i.e., when biomass peaks are observed), the concentration of Hg has not yet decreased to levels favourable for the growth of plasmid-free bacteria; in other words, the plasmid carriers have not sufficiently reduced the metal. Accordingly, among those investigated, this combination of (𝐾,𝑆𝑁) imposes the least limitation on metal within the biofilm: the minimum value of 𝐾yields the lowest Hg reduction per unit of plasmid-carrying biomass, while the minimum value of 𝑆𝑁results in a thinner biofilm and, consequently, minimal diffusion limitation. As a consequence, the mass of plasmid carriers keeps growing until reaching the highest steady-state value observed in these simulations. These results emphasize how the early stage of biofilm growth is critical in community assembly. The diverse steady states observed for various parameter pairs primarily come from different development during the initial 20 days of biofilm growth. The interaction among biomass, as well as with their environment—including substrate and toxic Hg concentration—creates varying conditions, facilitating their coexistence but in differing proportions. 4. Conclusion In this work, we introduce a mathematical modelling framework for HGT of plasmid-borne metal resistance genes in a biofilm domain. Our model treats conjugation and transformation as density-dependent and frequency-dependent processes, respectively. Specifically, the formulation of conjugation allows to integrate the condition of a donor cell neighbouring a receiver cell while transformation only needs eDNA, modelled as a soluble substrate. We explicitly model the expression of the tra genes as a nonlocal process to account for the recipient-sensing mechanism regulating conjugation. Additionally, we include explicit modelling of Hg reduction, enabled by the carriage of merA gene on the plasmid. We aim to cover a gap in the mathematical modelling literature of HGT events by including both transformation and conjugation in a multidimensional biofilm system, as well as studying how they regulate the dynamics and the ecology of plasmid spread in this ecosystem. The application of the model presented here in 1D and 2D numerical simulations allowed us to investigate different aspects of HGT and community assembly. More specifically, numerical simulations of an established 2D biofilm outline the different intensities Mathematics and Computers in Simulation 228 (2025) 156–177 175 J. Vincent et al. and biological functions of VGT, conjugation and transformation. VGT is the main vector to plasmid dissemination, especially when coupled to conjugation. Although transformation rates are very low and do not quantitatively affect the plasmid spread in the established biofilm, the ability of natural transformation to occur without direct cell-to-cell contact facilitates colonization of different ecological niches. Once coupled with VGT and conjugation, this explains the ecological success of plasmids and their persistence in the environment [48]. [6] reported a global distribution of almost identical merA proteins throughout different locations and ecosystems. Although HGT alone cannot explain this, our model results support the hypothesis of [49] who suggested that the distribution of merA is the result of a combination of localized selective pressure, horizontal transfers and highly conserved proteins (aspect not included in the model). The results also show local detoxification of Hg and its consequences on bacterial population balances that are further analysed in a growing 1D biofilm. Specifically, modelling the biofilm system as a 1D free boundary domain allowed us to delve into the dynamics of biofilm growth under selective pressure while including self-detoxification. The focus on the interplay between different biomasses with distinct metabolisms and sensitivities to toxic stressors outlined the community assembly process. Due to the 1:1 stoichiometry of 𝐻𝑔2+ reduction into elemental mercury, this model could be applied to investigate local generation of elemental Hg as part of the mercury cycle, thereby providing valuable insights into how microbial communities affect Hg dynamics globally and contributing to the assessment of their environmental impact. Additionally, considering conjugation and transformation enabled or not as we did in 3.1 means that the model could be adapted to scenarios involving non-conjugative plasmids or chromosomal resistance, associated with appropriate assumptions on parameter values. As highlighted in the numerical section, the model’s predictions for plasmid spread exhibit high sensitivity to parameters such as fitness cost and the Hg inhibition half-saturation coefficient. In this perspective, discretizing the biofilm population into subpopulations with varying Hg sensitivities and plasmid maintenance effects could provide valuable insights into how bacterial diversity influences plasmid persistence [42]. Further research into these parameters could uncover strategies to reduce plasmid dissemination by targeting specific bacterial metabolisms and identifying key species for antibiotic intervention aimed at plasmid elimination. Potential model extensions for future development include the addition of the transduction process, another HGT route that relies on gene replication errors from bacterial phages. The introduction of spontaneous mutations and co-evolution of plasmid and bacteria to alleviate the fitness cost of plasmid carriage would also represent an original focus. CRediT authorship contribution statement Julien Vincent: Writing – review & editing, Writing – original draft, Software, Methodology, Investigation, Formal analysis, Conceptualization. Alberto Tenore: Writing – review & editing, Writing – original draft, Software, Methodology, Investigation, Formal analysis, Conceptualization. Maria Rosaria Mattei: Writing – review & editing, Writing – original draft, Software, Methodology, Investigation, Formal analysis, Conceptualization. Luigi Frunzo: Writing – review & editing, Writing – original draft, Software, Methodology, Investigation, Formal analysis, Conceptualization. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Acknowledgements This research has been supported by the European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement No. 861088. Alberto Tenore is supported by the co-financing of the European Union—FSE-REACT-EU, PON Research and Innovation 2014–2020, DM 1062/202. Maria Rosaria Mattei acknowledges support from the project titled Spectral reflectance signature of colored subaerial biofilms as an indicator of stone heritage susceptibility to biodeterioration, project code: 2022KTBX3M, CUP: E53D23010850006. Luigi Frunzo acknowledges support from the project titled MOMENTA - Modelling complex biOlogical systeMs for biofuEl productioN and sTorAge: mathematics meets green industry, project code: 202248TY47, CUP: E53D23005430006. Both projects are funded by PRIN 2022 - Piano Nazionale di Ripresa e Resilienza (PNRR), Finanziato dall’Unione Europea - NextGenerationEU, Missione 4 ‘‘Istruzione e Ricerca’’ - Componente C2 Investimento 1.1, ‘‘Fondo per il Programma Nazionale di Ricerca e Progetti di Rilevante Interesse Nazionale (PRIN)’’. This paper has been performed under the auspices of the G.N.F.M. of I.N.d.A.M. Mathematics and Computers in Simulation 228 (2025) 156–177 176 J. Vincent et al. Appendix. Conversion of mercury reduction rate The maximum specific reduction rate 𝑣𝑚𝑎𝑥 was determined based on the findings of [27], where the authors investigated the kinetics of mercury reduction by a merA enzyme. Specifically, we selected the value corresponding to the activity of the raw extract to closely approximate real conditions within a living biofilm. They provided a value of 120 𝑛𝑚𝑜𝑙(𝑁𝐴𝐷𝑃 𝐻)∕(𝑚𝑖𝑛 ⋅𝑚𝑔(𝑃)). We expressed the latter value in 𝑔(𝐻𝑔)∕(𝑑⋅𝑔(𝐶𝑂𝐷)), which are the units used in our model, through a series of conversions. Since the reduction reaction is equimolar, 𝑛𝑚𝑜𝑙(𝑁𝐴𝐷𝑃 𝐻)is considered equivalent to 𝑛𝑚𝑜𝑙(𝐻𝑔). We assume an average protein content in bacterial cells of 15%, consistent with [50]. Additionally, based on what was reported in [51], we use a conversion factor of 0.70 to convert 𝑔(𝑉 𝑆𝑆)to 𝑔(𝐶𝑂𝐷), where 𝑔(𝑉 𝑆𝑆)serves a proxy for the mass of bacterial cells. Finally, we convert the 𝑚𝑜𝑙(𝐻𝑔) to 𝑔𝑟𝑎𝑚𝑠(𝐻𝑔)using the molar mass of 200.59 gmol−1, and yielding the final value 𝑣𝑚𝑎𝑥 = 3.66 𝑔(𝐻𝑔)∕(𝑑⋅𝑔(𝐶𝑂𝐷)). The detailed computation is provided below: 𝑣𝑚𝑎𝑥 = 120 𝑛𝑚𝑜𝑙(𝑁𝐴𝐷𝑃 𝐻) 𝑚𝑖𝑛 ⋅𝑚𝑔(𝑃)×𝑛𝑚𝑜𝑙(𝐻𝑔) 𝑛𝑚𝑜𝑙(𝑁𝐴𝐷𝑃 𝐻)× 0.15 𝑚𝑔(𝑃) 𝑚𝑔(𝑉 𝑆𝑆) ×0.70 𝑚𝑔(𝑉 𝑆𝑆) 𝑚𝑔(𝐶𝑂𝐷)× 200.59 𝑛𝑔(𝐻𝑔) 𝑛𝑚𝑜𝑙(𝐻𝑔)= 3.66 𝑔(𝐻𝑔) 𝑑⋅𝑔(𝐶𝑂𝐷). (A.1) References [1] H.-C. Flemming, E.D. van Hullebusch, T.R. Neu, P.H. Nielsen, T. Seviour, P. Stoodley, J. Wingender, S. Wuertz, The biofilm matrix: multitasking in a shared space, Nature Rev. Microbiol. (2022) 1–17. [2] H.-C. Flemming, J. Wingender, U. Szewzyk, P. Steinberg, S.A. Rice, S. Kjelleberg, Biofilms: an emergent form of bacterial life, Nature Rev. Microbiol. 14 (9) (2016) 563–575. [3] M. Okshevsky, R.L. Meyer, The role of extracellular DNA in the establishment, maintenance and perpetuation of bacterial biofilms, Crit. Rev. Microbiol. 41 (3) (2015) 341–352. [4] A. Devaraj, J.R. Buzzo, L. Mashburn-Warren, E.S. Gloag, L.A. Novotny, P. Stoodley, L.O. Bakaletz, S.D. Goodman, The extracellular DNA lattice of bacterial biofilms is structurally related to Holliday junction recombination intermediates, Proc. Natl. Acad. Sci. 116 (50) (2019) 25068–25077. [5] C.A. Christakis, T. Barkay, E.S. Boyd, Expanded Diversity and Phylogeny of mer Genes Broadens Mercury Resistance Paradigms and Reveals an Origin for MerA Among Thermophilic Archaea, Front. Microbiol. 12 (2021). [6] A.K. Mø ller, T. Barkay, M.A. Hansen, A. Norman, L.H. Hansen, S.J. Sø rensen, E.S. Boyd, N. Kroer, Mercuric reductase genes (merA) and mercury resistance plasmids in High Arctic snow, freshwater and sea-ice brine, FEMS Microbiol. Ecol. 87 (1) (2014) 52–63. [7] K. Moon, J.H. Jeon, I. Kang, K.S. Park, K. Lee, C.-J. Cha, S.H. Lee, J.-C. Cho, Freshwater viral metagenome reveals novel and functional phage-borne antibiotic resistance genes, Microbiome 8 (1) (2020) 75. [8] C. Michaelis, E. Grohmann, Horizontal Gene Transfer of Antibiotic Resistance Genes in Biofilms, Antibiotics 12 (2) (2023) 328. [9] O. Ciofu, C. Moser, P.Ø. Jensen, N. Hø iby, Tolerance and resistance of microbial biofilms, Nature Rev. Microbiol. (2022) 1–15. [10] Q.J. Leclerc, J.A. Lindsay, G.M. Knight, Mathematical modelling to study the horizontal transfer of antimicrobial resistance genes in bacteria: current state of the field and recommendations, J. R. Soc. Interface 16 (157) (2019) 20190260. [11] J. Mao, T. Lu, Population-Dynamic Modeling of Bacterial Horizontal Gene Transfer by Natural Transformation, Biophys. J. 110 (1) (2016) 258–268. [12] N. Lu, A. Massoudieh, X. Liang, T. Kamai, J.L. Zilles, T.H. Nguyen, T.R. Ginn, A kinetic model of gene transfer via natural transformation of Azotobacter vinelandii, Environ. Sci.: Water Res. Technol. 1 (3) (2015) 363–374. [13] P.J. Johnsen, D. Dubnau, B.R. Levin, Episodic Selection and the Maintenance of Competence and Natural Transformation in Bacillus subtilis, Genetics 181 (4) (2009) 1521–1533. [14] K. Abe, N. Nomura, S. Suzuki, Biofilms: hot spots of horizontal gene transfer (HGT) in aquatic environments, with a focus on a new HGT mechanism, FEMS Microbiol. Ecol. 96 (5) (2020) fiaa031. [15] J. Vincent, A. Tenore, M.R. Mattei, F. L., Modelling plasmid-mediated horizontal gene transfer in biofilms, Bull. Math. Biol. 86 (63) (2024). [16] O. Wanner, W. Gujer, A multispecies biofilm model, Biotechnol. Bioeng. 28 (3) (1986) 314–328. [17] H. Eberl, I.W. Association (Eds.), Mathematical modeling of biofilms, 1. publ, in: Scientific and technical report / IWA, (18) IWA Publ, London, 2006. [18] M.R. Mattei, L. Frunzo, B. D’Acunto, Y. Pechaud, F. Pirozzi, G. Esposito, Continuum and discrete approach in modeling biofilm development and structure: A review, J. Math. Biol. 76 (4) (2018) 945–1003. [19] M. Ghasemi, B. Hense, H.J. Eberl, C. Kuttler, Simulation-Based Exploration of Quorum Sensing Triggered Resistance of Biofilms to Antibiotics, Bull. Math. Biol. 80 (7) (2018) 1736–1775. [20] N. Ford, G. Fisher, A. Prindle, D. Chopp, A Two-Dimensional Model of Potassium Signaling and Oscillatory Growth in a Biofilm, Bull. Math. Biol. 83 (5) (2021) 60. [21] D.S. Grégoire, A.J. Poulain, Shining light on recent advances in microbial mercury cycling, FACETS 3 (1) (2018) 858–879. [22] D. Obrist, J.L. Kirk, L. Zhang, E.M. Sunderland, M. Jiskra, N.E. Selin, A review of global environmental mercury processes in response to human and natural perturbations: Changes of emissions, climate, and land use, Ambio 47 (2) (2018) 116–140. [23] B. Gworek, W. Dmuchowski, A.H. Baczewska-Dąbrowska, Mercury in the terrestrial environment: A review, Environ. Sci. Eur. 32 (1) (2020) 128. [24] A. Kothari, Y.-W. Wu, J.-M. Chandonia, M. Charrier, L. Rajeev, A.M. Rocha, D.C. Joyner, T.C. Hazen, S.W. Singer, A. Mukhopadhyay, Large Circular Plasmids from Groundwater Plasmidomes Span Multiple Incompatibility Groups and Are Enriched in Multimetal Resistance Genes, mBio 10 (1) (2019) 10.1128/mbio.02899–18. [25] E. Alpkvist, I. Klapper, A multidimensional multispecies continuum model for heterogeneous biofilm development, Bull. Math. Biol. 69 (2) (2007) 765–789. [26] K.A. Rahman, R. Sudarsan, H.J. Eberl, A Mixed-Culture Biofilm Model with Cross-Diffusion, Bull. Math. Biol. 77 (11) (2015) 2086–2124. [27] M. Schneider, W.-D. Deckwer, Kinetics of Mercury Reduction by Serratia marcescens Mercuric Reductase Expressed by Pseudomonas putida Strains, Eng. Life Sci. 5 (5) (2005) 415–424. [28] Q.J. Leclerc, J. Wildfire, A. Gupta, J.A. Lindsay, G.M. Knight, Growth-Dependent Predation and Generalized Transduction of Antimicrobial Resistance by Bacteriophage, mSystems 7 (2) (2022) e00135–22. [29] J. Vincent, A. Tenore, M.R. Mattei, L. Frunzo, Modelling drinking water biofilms: Bacterial adhesion and Legionella pneumophila necrotrophic growth, Commun. Nonlinear Sci. Numer. Simul. 128 (2024) 107639. [30] R.S. Renslow, P.D. Majors, J.S. McLean, J.K. Fredrickson, B. Ahmed, H. Beyenal, In situ effective diffusion coefficient profiles in live biofilms using pulsed-field gradient nuclear magnetic resonance, Biotechnol. Bioeng. 106 (6) (2010) 928–937. [31] L. van den Berg, C.M. Kirkland, J.D. Seymour, S.L. Codd, M.C.M. van Loosdrecht, M.K. de Kreuk, Heterogeneous diffusion in aerobic granular sludge, Biotechnol. Bioeng. 117 (12) (2020) 3809–3819. Mathematics and Computers in Simulation 228 (2025) 156–177 177 J. Vincent et al. [32] A. Tenore, F. Russo, M.R. Mattei, B. D’Acunto, G. Collins, L. Frunzo, Multiscale modelling of de novo anaerobic granulation, Bull. Math. Biol. 83 (12) (2021) 122. [33] N.C. Stellwagen, S. Magnusdottir, C. Gelfi, P.G. Righetti, Measuring the translational diffusion coefficients of small DNA molecules by capillary electrophoresis, Biopolymers 58 (4) (2001) 390–397. [34] G.L. Lukacs, P. Haggie, O. Seksek, D. Lechardeur, N. Freedman, A.S. Verkman, Size-dependent DNA Mobility in Cytoplasm and Nucleus *, J. Biol. Chem. 275 (3) (2000) 1625–1629. [35] F. Ahmad, M.I.E. Halmi, B. Gunasekaran, W.L.W. Johari, M.Y. Shukor, M.A. Syed, Inhibitive Bacterial MTT Assay for River Monitoring of Heavy Metals, Bioremediation Sci. Technol. Res. 1 (1) (2013) 1–7. [36] A. Newbury, B. Dawson, U. Klümper, E. Hesse, M. Castledine, C. Fontaine, A. Buckling, D. Sanders, Fitness effects of plasmids shape the structure of bacteria–plasmid interaction networks, Proc. Natl. Acad. Sci. 119 (22) (2022) e2118361119. [37] B. Li, Y. Qiu, Y. Song, H. Lin, H. Yin, Dissecting horizontal and vertical gene transfer of antibiotic resistance plasmid in bacterial community using microfluidics, Environ. Int. 131 (2019) 105007. [38] H. Lin, L. Jiang, B. Li, Y. Dong, Y. He, Y. Qiu, Screening and evaluation of heavy metals facilitating antibiotic resistance gene transfer in a sludge bacterial community, Sci. Total Environ. 695 (2019) 133862. [39] B.V. Merkey, D.L. Chopp, The performance of a microbial fuel cell depends strongly on anode geometry: A multidimensional modeling study, Bull. Math. Biol. 74 (2012) 834–857. [40] M. De Kreuk, C. Picioreanu, M. Hosseini, J. Xavier, M. Van Loosdrecht, Kinetic model of a granular sludge SBR: influences on nutrient removal, Biotechnol. Bioeng. 97 (4) (2007) 801–815. [41] B.-J. Ni, H.-Q. Yu, Y.-J. Sun, Modeling simultaneous autotrophic and heterotrophic growth in aerobic granules, Water Res. 42 (6–7) (2008) 1583–1594. [42] A. Alonso-del Valle, R. León-Sampedro, J. Rodríguez-Beltrán, J. DelaFuente, M. Hernández-García, P. Ruiz-Garbajosa, R. Cantón, R. Peña-Miller, A. San Millán, Variability of plasmid fitness effects contributes to plasmid persistence in bacterial communities, Nature Commun. 12 (1) (2021) 2653, Publisher: Nature Publishing Group. [43] R.T. Merod, S. Wuertz, Extracellular Polymeric Substance Architecture Influences Natural Genetic Transformation of Acinetobacter baylyi in Biofilms, Appl. Environ. Microbiol. 80 (24) (2014) 7752–7757. [44] L. Hendrickx, M. Hausner, S. Wuertz, Natural Genetic Transformation in Monoculture Acinetobacter sp. Strain BD413 Biofilms, Appl. Environ. Microbiol. 69 (3) (2003) 1721–1727. [45] A. Kothari, D. Soneja, A. Tang, H.K. Carlson, A.M. Deutschbauer, A. Mukhopadhyay, Native Plasmid-Encoded Mercury Resistance Genes Are Functional and Demonstrate Natural Transformation in Environmental Bacterial Isolates, mSystems 4 (6) (2019) e00588–19. [46] C.M. Thomas, K.M. Nielsen, Mechanisms of, and Barriers to, Horizontal Gene Transfer between Bacteria, Nature Rev. Microbiol. 3 (9) (2005) 711–721. [47] L. Ma, M.E. Konkel, X. Lu, Antimicrobial Resistance Gene Transfer from Campylobacter jejuni in Mono- and Dual-Species Biofilms, Appl. Environ. Microbiol. 87 (15) (2021) e00659–21. [48] G.D. Wright, Antibiotic resistance in the environment: A link to the clinic? Curr. Opin. Microbiol. 13 (5) (2010) 589–594. [49] A.M. Osborn, K.D. Bruce, P. Strike, D.A. Ritchie, Distribution, diversity and evolution of the bacterial mercury resistance (mer) operon, FEMS Microbiol. Rev. 19 (4) (1997) 239–262. [50] C.M. O’Connor, J.U. Adams, Essentials of Cell Biology, NPG Education, 2010. [51] A. Tenore, J. Vieira, L. Frunzo, V. Luongo, M. Fabbricino, Calibration and validation of an activated sludge model for membrane bioreactor wastewater treatment plants, Environ. Technol. 41 (15) (2020) 1923–1936.