BACKGROUND
in this article we describe the recent development of a novel software environment for modelling of sexually-transmitted infections .
since sti progression cannot be monitored within humans directly without being highly invasive and expensive, mathematical modelling is a valuable strategy in elucidating infection dynamics and evaluating the potential impact of new interventions  <cit> .
within-host modelling of stis still being a relatively new field, determining new treatments currently relies primarily on animal trials.
while some authors have sought to integrate mathematical models with data from animal experiments  <cit> , there has to date been relatively little uptake of mathematical models by non-theoreticians, attributable  to the fact that dynamic simulation of mathematical models relies upon the researcher having sufficient knowledge of mathematical techniques and computational strategies to generate simulations relevant to their specific studies.
to enhance the relevance of model outputs, and strengthen the uptake of such models, it is invaluable to enable the investigator to run simulations of a range of models with easily customisable parameter sets and user-friendly visualisation of results.
we focus here upon the representative case study of c. trachomatis infection—the most common sexually-transmitted bacterial pathogen of humans, with over  <dig> million new adult cases occurring worldwide each year  <cit> .
due to its lengthy  incubation period and its high rate of asymptomatic infection, a large reservoir of c. trachomatis infection can accumulate in the lower genital tract of both men and women, without early detection.
this reservoir presents a risk of an infection ascending to the upper genital tract with resultant adverse effects on reproductive health, including serious complications such as pelvic inflammatory disease , tubal factor infertility and ectopic pregnancies.
although c. trachomatis affects men, women and infants, women bear the brunt of the chlamydial burden due to a higher risk of adverse reproductive consequences.
we focus here upon c. trachomatis infection in females.
c. trachomatis is an obligate, intracellular bacterium; i.e.
its replication relies upon internalisation by a host cell of the genital epithelium .
the bacterium exists in two forms: the infectious form, termed the elementary body ; and the intracellular replicative form, termed the reticulate body .
the eb is thought to be metabolically inert until it attaches to, and is endocytosed by, a susceptible host epithelial cell.
after the eb attaches, it is rapidly ingested by an enhanced phagocytic process similar to ordinary bacterial phagocytosis  <cit> .
within two hours of internalisation, the eb differentiates into the metabolically active rb form.
the rb then multiplies 200–500-fold by binary fission  <cit> , before converting back into the infectious eb form.
the host cell eventually lyses, releasing the new ebs back into the genital tract.
the infection cycle then begins anew.
a common starting point for many recent within-host models of c. trachomatis is the model of  <cit> , which uses ordinary differential equations  to describe the temporal evolution of the chlamydial infection at the tissue-scale.
the model incorporates infection of epithelial cells by ebs at a rate proportional to the concentration of the infection; birth, natural death and lysis of epithelial cells at prescribed rates; removal by macrophages of extracellular ebs; and removal of infected cells by elements of the cell-mediated immune system.
this model provides a robust foundation for modelling of c. trachomatis, and has since been extended by many authors, including  <cit>  who incorporated a more thorough multi-stage description of the intracellular eb replication process.
recent studies by mallet and co-workers  <cit>  have placed greater focus upon understanding the processes through which c. trachomatis infection ascends the cervix.
to incorporate the spatial dependence of extracellular quantities, the ode model of  <cit>  is replaced with a partial differential equation  analogue; extracellular particles are generally considered to move diffusively, and the models are able to incorporate e.g.
chemotactic terms to capture migration of immune cells in response to diffusible chemical cues.
while pde models succeed in qualitatively capturing the ascension of the infection, they lack a robust description of cell-scale phenomena.
in the model of  <cit> , the above pde description of extracellular chlamydiae is combined with a cell-based description of the epithelium, in which each cell is modelled via a cellular automaton whose behaviour is governed by prescribed probabilistic rules.
we further describe and extend this hybrid model in the forthcoming sections.
in the remainder of this article, we describe the development of a new software environment for easy simulation of a range of sti models, focusing on c. trachomatis in particular.
we then illustrate the use of the software through a simple extension of the model of  <cit>  to describe immunisation of adolescent females.
we then describe scope for extensions of the software beyond the currently available models, and to describe other stis.
implementation
to promote the use of mathematical and compuational models by clinical and experimental researchers, the authors have developed new software for easy sti model simulation.
this software environment, named sti-gmas  has been designed with accessibility and extensibility at its core, and makes progress toward thorough curation and annotation of models to clarify nomenclature, and maximise coherence between different models and ultimately across multiple infections.
sti-gmas is built upon a framework of existing tools from within the virtual physiological human  toolkit—an online repository of tools for interdisciplinary modelling of the human physiome  <cit> .
integration with the toolkit provides direct access to a number of standards for model development, annotation and validation, which  will allow sti-gmas to be integrated with a range of other software for simulation of the wider physiome.
model simulations within sti-gmas are implemented through new and existing finite-element tools provided by the open-source chaste  project  <cit> , whose use provides on-going development in terms of diversity of tools, computational efficiency and cross-platform support.
furthermore, chaste’s delevopment deploys a test-oriented approach that ensures that algorithms are rigorously and regularly validated  <cit> ; sti-gmas benefits directly from this testing, and comparison with published results is performed for any newly added model, to ensure that simulation results are numerically accurate.
for details of the implementation and testing of chaste itself, the reader is directed to  <cit> .
sti-gmas integrates the outputs of these chaste simulations with visualisation tools to illustrate the biological phenomena that the models predict.
these components are integrated via a graphical user interface , which is also responsible for providing clear model annotation and parameterisation to enable models to be easily redeployed by the non-theoretical user.
sti-gmas is available on all 64-bit chaste-compatible operating systems, including linux, mac os x and windows.figure  <dig> illustrates the workflow via which the various components of sti-gmas are integrated.
on loading sti-gmas, the user is presented with a list of currently available models, categorised as either temporal or spatio-temporal, and complemented with pop-up windows to inform non-theoretical users as to which class of models is most appropriate for their study.
on selecting a model, the user arrives at a model-specific control panel  through which they can select from a number of default parameter sets  or select new parameters to examine potentially new phenomena, allowing for a more thorough investigation of the model than may have been afforded by its original publication.
all user-defined parameter sets can be saved and re-loaded for future simulations.
the implementation of sti-gmas has considered two broad classes of end user: the clinician/experimentalist, who will be able to run new simulations of existing models easily; and the theoretician, for whom the source code is accessible for encoding of new models.
to facilitate the latter, templates have been created within sti-gmas to govern model parameteristion and enforce a minimum level of model annotation.
new models will be required to meet these standards prior to being included in future releases; sti-gmas developers will work alongside authors of new models to incorporate these as they arise.
sti-gmas is distributed as an open-source ‘bolt-on’ of chaste, is licensed under chaste’s 3-clause bsd license, and can be downloaded via the sti-gmas website, or directly from the chaste homepage  <cit> .
RESULTS
here, we demonstrate the use of sti-gmas as an investigative tool for future interventions and treatment.
we consider a scenario in which adolescent females are to be immunised with a chlamydia vaccine prior to their sexual debut, to circumvent the development of inflammation in the fallopian tubes: a common precursor to pid.
the aims of the vaccination could be achieved by halting the ascension of the c. trachomatis organism through the genital tract, and by reducing the level of infection within the fallopian tubes to a level below that required to trigger an inflammatory response.
the modelling assumptions in the design of the vaccination intervention are:  it takes at least  <dig> hours for white blood cells to enter the tissue at the site of infection,  the vaccine elicits a strong cell-mediated immune response that becomes effective more quickly as a result of the expansion of the antigen-specific t cell population, and  the vaccine enhances humoral immunity such that an antibody response is already present in the cervical secretions.
the antibodies can combat the infection in two ways: either by neutralising extracellular chlamydiae, preventing attachment to host cells; or by stimulating phagocytosis of extracellular ebs, removing them from the system.
we model the intervention through an extension of the hybrid pde–ca model of  <cit>  .
in the following, we deploy nomenclature consistent with  <cit> .
in this model, extracellular ebs move diffusively with concentration c, and healthy cells become infected with probability proportional to the number of extracellular ebs in their vicinity .
on infection, a cell is allocated a length of time until lysis, drawn from an appropriate normal distribution, since infection prevents natural death by apoptosis.
on lysis, b new ebs are released, which appear as a source term in the extracellular pde.
after lysis, the void which remains in the cell monolayer is considered to be immediately filled by a new healthy cell.
the model accounts for both innate and cell-mediated immune responses: as the density of infected cells increases, so does the strength of an emitted chemical infection signal , which is used to calculate the likelihood with which immune responses clear extracellular ebs or remove the infected cell.
the signal strength at a given cell location increases while that cell remains infected; this infection signal is also transmitted to neighbouring cells across cell boundaries.
if there are no infected cells in a given neighbourhood, the local infection signal is subject to exponential decay at a prescribed rate.
the model incorporates delays between cell infection, activation of the response and recruitment of immune cells to the infected cell location.
each of the above infection and clearance events occurs probabilistically with likelihood given by
prevent=px;pmin,pmax,x1/2≡pminpmaxekxpmax+pminekx− <dig>
with
k=ln <dig> pmax−pminpmaxpmin− <dig> pmin1/x1/ <dig>
in , x represents either the local extracellular eb concentration  or infection signal level , and x1/ <dig> is the value of x for which pr= <dig> .
each infection or clearance event is therefore described by three parameters: pmin, pmax and x1/ <dig>  we direct the reader to  <cit>  for further information regarding model parameters and their values.
we now introduce a new variable a to represent the vaccine-induced antibody level, and allow the model’s original parameters to vary with a in the manner described by .
we assume that in the presence of high levels of antibody, the maximum probability of cell infection is reduced, and the minimum probability of eb clearance is increased.
in the nomenclature of the original model, we let
pmaxcell∼1−pa;pmina,pmaxa,a1/ <dig>
pmineb∼pa;pmina,pmaxa,a1/ <dig>
the extent to which these quantities are adjusted is suitable for later fitting to experimental data through tuning of the new parameters pmina, pmaxa and a1/ <dig>  we examine the progression of the infection under three antibody levels: no antibodies , moderate antibody levels , and high antibody levels .
typical values of other parameters are illustrated in figure  <dig> , and parameter sets are provided in full within the sti-gmas software as model ‘nelson2014’.
figures  <dig>   <dig> and  <dig> illustrate the ascension of ebs in each of these scenarios.
the domain illustrated represents the cervical epithelium, oriented with the vaginal boundary at the base.
the model is subject to periodic boundary conditions on the lateral boundaries, to recover the 3d geometry.
following  <cit> , we impose c= <dig> on the lower boundary, since the lower genital tract is inhospitable to chlamydial infection, and impose a zero-flux condition on the top boundary to represent the effects of the cervical mucus plug.
in each simulation, a deposit of extracellular chlamydiae is initially randomly distributed in a stripe close to the lower boundary.
in the absence of the antibody , the infection builds rapidly and ascends the cervix in a manner reminiscent of a travelling wave.
the infection progresses to above the cervix , with potentially serious implications upon reproductive health.
infection in the cervix itself is also maintained, with lysis of infected cells generating recurring peaks in eb number ).
with a moderate antibody level , the short-term behaviour is similar to that of figure 5; however, after  <dig> hours the majority of the ebs have been successfully removed as a result of the antibody stimulating the immune response and hindering cell infection.
while the situation is somewhat improved by the presence of the antibody, a small number of ebs do still ascend to the upper cervical boundary ).
for a high antibody level  the infectious extracellular chlamydiae are quickly removed by the immune response; the infection is successfully prevented from ascending to the upper reproductive tract.
for the demonstrative parameters used here, the infection is cleared within  <dig> hours; a timescale similar to those observed in related animal inoculation experiments  <cit> .
discussion
the current release of sti-gmas  incorporates three chlamydia models: that of  <cit> , a temporal model operating on the tissue scale, the outputs of which compare readily to the results of many animal experiments; that of  <cit> , which elucidates the spatial ascension of an infection up the female genital tract; and a new extension of the latter model  to examine the effectiveness of a hypothetical vaccine.
this vaccine model demonstrates how existing models can be readily adapted and reused through sti-gmas, and exhibits much scope for coupling to laboratory experiments to inform parameter values.
with parameter values more accurately determined to model specific vaccines, the model will be in a position to address questions regarding appropriate vaccine dosage and optimisation of immune response times to remove infections efficiently.
while this article has focused upon the use of sti-gmas for in silico experimentation, there is also great scope for its use as part of e.g.
approximate bayesian computation  schemes for inferring model parameters from data  <cit> .
these schemes weight parameters according to the closeness of a forward simulation of a model  to true data, allowing for good parameter estimation even in the presence of extremely complicated disease dynamics.
hence, sti-gmas has the potential to facilitate model simulation, parameterisation and inference within the same software package.
the design of sti-gmas has extensibility at its core: further models will be added to the software in due course, subject to strict standards of clear model annotation and parameterisation being demonstrably met.
the framework for incorporating these models is now well-defined, with templates in use for creation of codes for chaste simulations and for the graphical user interface itself.
while we do not expect non-theoretical users to add new models to the software themselves, these templates ease the developers’ task of introducing new models as they arise, and the environment’s open source design makes the corresponding codes accessible to researchers of any background who do wish to become more familiar with the computational principles.
the models discussed herein exhibit great scope for future extension.
currently, a key limitation of spatial models lies in their focus upon only cervical tissue.
expansion of the modelled domain to include regions up to the fallopian tubes, would allow for investigations of scarring, inflammation and pid.
one direct target for such a model is the “arrested immunity” hypothesis proposed by  <cit> , which suggests that although early antibiotic treatment can cure the chlamydial infection, it can also interrupt the development of immunity.
consequently, the prevalence of chlamydia in the population does not decline but actually increases.
however, early treatment can prevent the development of pid.
the experimentalist may therefore question whether there exists a time frame during which antibiotic intervention can prevent pid but also allow the host to develop immunity, potentially leading to new antibiotic interventions.
the mathematical model presented here exhibits many of the requirements of such a theoretical investigation, although it does not currently represent adequate regions of the host anatomy.
we note that while work to date has focused upon within-host models of chlamydia, targets for future development within the sti-gmas environment are to incorporate both population-scale models, and models of other stis.
many of the modelling techniques deployed here transfer directly to within-host models of other infections: models of gonorrhoea show particular similarity to those described above and, while having a different pathogenesis to that of chlamydia, syphilis and viral infections such as herpes simplex virus, human papillomavirus and viral hepatitis could be represented with models employing a highly similar process.
future work will examine the above infections in isolation, as well as co-infections, and will incoporate such models into the sti-gmas software.
CONCLUSIONS
the sti-gmas environment represents, to the authors’ knowledge, the first software designed explicitly for in silico simulation of sti models by non-theoreticians.
albeit a growing field, mathematical modelling of stis is in its relative infancy, with little uptake of models in biological domains.
this software presents a novel route to bridging the gap between computational and clinical/experimental disciplines, and in doing so will stimulate dissemination and uptake of both existing and new theoretical models.
as described above, the implementation of chlamydia models to date constitutes a template that can be easily extended to other stis.
such extensions will be included in future releases.
a key target for future development will be to include within sti-gmas a full geometric desciption of the genital tract, which can be deployed readily within new models, regardless of the infection under consideration.
in parallel, key parameters will be identified in each of the key subtissues and made available across models.
in doing so, sti-gmas will improve upon the current necessity for models to be heavily relient on phenomenological parameter values.
we remark that, while sti-gmas has made headway in making computational models more accessible, a true bridging of disciplines would benefit greatly from a bidirectional exchange of information.
the task of making experimental data available through repositories with robust annotation is considerable and unresolved, and has been the focus of many other vph-related initiatives; see e.g.
<cit>  for details.
such integration of experimental data remains a long-term target for sti-gmas.
availability and requirements
project name: sti-gmas
project home page: http://www.sti-gmas.org
operating systems: linux, mac os x, windows
programming language: c++, java
other requirements: paraview
license: 3-clause bsd
restrictions to use by non-academics: none.
competing interests
the authors declare that they have no competing interests.
authors’ contributions
mrn and kjs led implementation of the software; bsb, dgm, dps and rgr guided development of contributory models.
all authors contributed equally to production of this article.
all authors read and approved the final manuscript.

 in this article we describe the recent development of a novel software environment for modelling of sexually-transmitted infections. since sti progression cannot be monitored within humans directly without being highly invasive and expensive, mathematical modelling is a valuable strategy in elucidating infection dynamics and evaluating the potential impact of new interventions. within-host modelling of stis still being a relatively new field, determining new treatments currently relies primarily on animal trials. while some authors have sought to integrate mathematical models with data from animal experiments, there has to date been relatively little uptake of mathematical models by non-theoreticians, attributable to the fact that dynamic simulation of mathematical models relies upon the researcher having sufficient knowledge of mathematical techniques and computational strategies to generate simulations relevant to their specific studies. to enhance the relevance of model outputs, and strengthen the uptake of such models, it is invaluable to enable the investigator to run simulations of a range of models with easily customisable parameter sets and user-friendly visualisation of results. we focus here upon the representative case study of c. trachomatis infection—the most common sexually-transmitted bacterial pathogen of humans, with over million new adult cases occurring worldwide each year. due to its lengthy incubation period and its high rate of asymptomatic infection, a large reservoir of c. trachomatis infection can accumulate in the lower genital tract of both men and women, without early detection. this reservoir presents a risk of an infection ascending to the upper genital tract with resultant adverse effects on reproductive health, including serious complications such as pelvic inflammatory disease, tubal factor infertility and ectopic pregnancies. although c. trachomatis affects men, women and infants, women bear the brunt of the chlamydial burden due to a higher risk of adverse reproductive consequences. we focus here upon c. trachomatis infection in females. c. trachomatis is an obligate, intracellular bacterium; i.e. its replication relies upon internalisation by a host cell of the genital epithelium. the bacterium exists in two forms: the infectious form, termed the elementary body; and the intracellular replicative form, termed the reticulate body. the eb is thought to be metabolically inert until it attaches to, and is endocytosed by, a susceptible host epithelial cell. after the eb attaches, it is rapidly ingested by an enhanced phagocytic process similar to ordinary bacterial phagocytosis. within two hours of internalisation, the eb differentiates into the metabolically active rb form. the rb then multiplies 200–500-fold by binary fission, before converting back into the infectious eb form. the host cell eventually lyses, releasing the new ebs back into the genital tract. the infection cycle then begins anew. a common starting point for many recent within-host models of c. trachomatis is the model of, which uses ordinary differential equations to describe the temporal evolution of the chlamydial infection at the tissue-scale. the model incorporates infection of epithelial cells by ebs at a rate proportional to the concentration of the infection; birth, natural death and lysis of epithelial cells at prescribed rates; removal by macrophages of extracellular ebs; and removal of infected cells by elements of the cell-mediated immune system. this model provides a robust foundation for modelling of c. trachomatis, and has since been extended by many authors, including who incorporated a more thorough multi-stage description of the intracellular eb replication process. recent studies by mallet and co-workers have placed greater focus upon understanding the processes through which c. trachomatis infection ascends the cervix. to incorporate the spatial dependence of extracellular quantities, the ode model of is replaced with a partial differential equation analogue; extracellular particles are generally considered to move diffusively, and the models are able to incorporate e.g. chemotactic terms to capture migration of immune cells in response to diffusible chemical cues. while pde models succeed in qualitatively capturing the ascension of the infection, they lack a robust description of cell-scale phenomena. in the model of, the above pde description of extracellular chlamydiae is combined with a cell-based description of the epithelium, in which each cell is modelled via a cellular automaton whose behaviour is governed by prescribed probabilistic rules. we further describe and extend this hybrid model in the forthcoming sections. in the remainder of this article, we describe the development of a new software environment for easy simulation of a range of sti models, focusing on c. trachomatis in particular. we then illustrate the use of the software through a simple extension of the model of to describe immunisation of adolescent females. we then describe scope for extensions of the software beyond the currently available models, and to describe other stis. implementation to promote the use of mathematical and compuational models by clinical and experimental researchers, the authors have developed new software for easy sti model simulation. this software environment, named sti-gmas has been designed with accessibility and extensibility at its core, and makes progress toward thorough curation and annotation of models to clarify nomenclature, and maximise coherence between different models and ultimately across multiple infections. sti-gmas is built upon a framework of existing tools from within the virtual physiological human toolkit—an online repository of tools for interdisciplinary modelling of the human physiome. integration with the toolkit provides direct access to a number of standards for model development, annotation and validation, which will allow sti-gmas to be integrated with a range of other software for simulation of the wider physiome. model simulations within sti-gmas are implemented through new and existing finite-element tools provided by the open-source chaste project, whose use provides on-going development in terms of diversity of tools, computational efficiency and cross-platform support. furthermore, chaste’s delevopment deploys a test-oriented approach that ensures that algorithms are rigorously and regularly validated; sti-gmas benefits directly from this testing, and comparison with published results is performed for any newly added model, to ensure that simulation results are numerically accurate. for details of the implementation and testing of chaste itself, the reader is directed to. sti-gmas integrates the outputs of these chaste simulations with visualisation tools to illustrate the biological phenomena that the models predict. these components are integrated via a graphical user interface, which is also responsible for providing clear model annotation and parameterisation to enable models to be easily redeployed by the non-theoretical user. sti-gmas is available on all 64-bit chaste-compatible operating systems, including linux, mac os x and windows.figure illustrates the workflow via which the various components of sti-gmas are integrated. on loading sti-gmas, the user is presented with a list of currently available models, categorised as either temporal or spatio-temporal, and complemented with pop-up windows to inform non-theoretical users as to which class of models is most appropriate for their study. on selecting a model, the user arrives at a model-specific control panel through which they can select from a number of default parameter sets or select new parameters to examine potentially new phenomena, allowing for a more thorough investigation of the model than may have been afforded by its original publication. all user-defined parameter sets can be saved and re-loaded for future simulations. the implementation of sti-gmas has considered two broad classes of end user: the clinician/experimentalist, who will be able to run new simulations of existing models easily; and the theoretician, for whom the source code is accessible for encoding of new models. to facilitate the latter, templates have been created within sti-gmas to govern model parameteristion and enforce a minimum level of model annotation. new models will be required to meet these standards prior to being included in future releases; sti-gmas developers will work alongside authors of new models to incorporate these as they arise. sti-gmas is distributed as an open-source ‘bolt-on’ of chaste, is licensed under chaste’s 3-clause bsd license, and can be downloaded via the sti-gmas website, or directly from the chaste homepage.  here, we demonstrate the use of sti-gmas as an investigative tool for future interventions and treatment. we consider a scenario in which adolescent females are to be immunised with a chlamydia vaccine prior to their sexual debut, to circumvent the development of inflammation in the fallopian tubes: a common precursor to pid. the aims of the vaccination could be achieved by halting the ascension of the c. trachomatis organism through the genital tract, and by reducing the level of infection within the fallopian tubes to a level below that required to trigger an inflammatory response. the modelling assumptions in the design of the vaccination intervention are: it takes at least hours for white blood cells to enter the tissue at the site of infection, the vaccine elicits a strong cell-mediated immune response that becomes effective more quickly as a result of the expansion of the antigen-specific t cell population, and the vaccine enhances humoral immunity such that an antibody response is already present in the cervical secretions. the antibodies can combat the infection in two ways: either by neutralising extracellular chlamydiae, preventing attachment to host cells; or by stimulating phagocytosis of extracellular ebs, removing them from the system. we model the intervention through an extension of the hybrid pde–ca model of. in the following, we deploy nomenclature consistent with. in this model, extracellular ebs move diffusively with concentration c, and healthy cells become infected with probability proportional to the number of extracellular ebs in their vicinity. on infection, a cell is allocated a length of time until lysis, drawn from an appropriate normal distribution, since infection prevents natural death by apoptosis. on lysis, b new ebs are released, which appear as a source term in the extracellular pde. after lysis, the void which remains in the cell monolayer is considered to be immediately filled by a new healthy cell. the model accounts for both innate and cell-mediated immune responses: as the density of infected cells increases, so does the strength of an emitted chemical infection signal, which is used to calculate the likelihood with which immune responses clear extracellular ebs or remove the infected cell. the signal strength at a given cell location increases while that cell remains infected; this infection signal is also transmitted to neighbouring cells across cell boundaries. if there are no infected cells in a given neighbourhood, the local infection signal is subject to exponential decay at a prescribed rate. the model incorporates delays between cell infection, activation of the response and recruitment of immune cells to the infected cell location. each of the above infection and clearance events occurs probabilistically with likelihood given by prevent=px;pmin,pmax,x1/2≡pminpmaxekxpmax+pminekx− with k=ln pmax−pminpmaxpmin− pmin1/x1/ in, x represents either the local extracellular eb concentration or infection signal level, and x1/ is the value of x for which pr=. each infection or clearance event is therefore described by three parameters: pmin, pmax and x1/ we direct the reader to for further information regarding model parameters and their values. we now introduce a new variable a to represent the vaccine-induced antibody level, and allow the model’s original parameters to vary with a in the manner described by. we assume that in the presence of high levels of antibody, the maximum probability of cell infection is reduced, and the minimum probability of eb clearance is increased. in the nomenclature of the original model, we let pmaxcell∼1−pa;pmina,pmaxa,a1/ pmineb∼pa;pmina,pmaxa,a1/ the extent to which these quantities are adjusted is suitable for later fitting to experimental data through tuning of the new parameters pmina, pmaxa and a1/ we examine the progression of the infection under three antibody levels: no antibodies, moderate antibody levels, and high antibody levels. typical values of other parameters are illustrated in figure, and parameter sets are provided in full within the sti-gmas software as model ‘nelson2014’. figures and illustrate the ascension of ebs in each of these scenarios. the domain illustrated represents the cervical epithelium, oriented with the vaginal boundary at the base. the model is subject to periodic boundary conditions on the lateral boundaries, to recover the 3d geometry. following, we impose c= on the lower boundary, since the lower genital tract is inhospitable to chlamydial infection, and impose a zero-flux condition on the top boundary to represent the effects of the cervical mucus plug. in each simulation, a deposit of extracellular chlamydiae is initially randomly distributed in a stripe close to the lower boundary. in the absence of the antibody, the infection builds rapidly and ascends the cervix in a manner reminiscent of a travelling wave. the infection progresses to above the cervix, with potentially serious implications upon reproductive health. infection in the cervix itself is also maintained, with lysis of infected cells generating recurring peaks in eb number ). with a moderate antibody level, the short-term behaviour is similar to that of figure 5; however, after hours the majority of the ebs have been successfully removed as a result of the antibody stimulating the immune response and hindering cell infection. while the situation is somewhat improved by the presence of the antibody, a small number of ebs do still ascend to the upper cervical boundary ). for a high antibody level the infectious extracellular chlamydiae are quickly removed by the immune response; the infection is successfully prevented from ascending to the upper reproductive tract. for the demonstrative parameters used here, the infection is cleared within hours; a timescale similar to those observed in related animal inoculation experiments. discussion the current release of sti-gmas incorporates three chlamydia models: that of, a temporal model operating on the tissue scale, the outputs of which compare readily to the results of many animal experiments; that of, which elucidates the spatial ascension of an infection up the female genital tract; and a new extension of the latter model to examine the effectiveness of a hypothetical vaccine. this vaccine model demonstrates how existing models can be readily adapted and reused through sti-gmas, and exhibits much scope for coupling to laboratory experiments to inform parameter values. with parameter values more accurately determined to model specific vaccines, the model will be in a position to address questions regarding appropriate vaccine dosage and optimisation of immune response times to remove infections efficiently. while this article has focused upon the use of sti-gmas for in silico experimentation, there is also great scope for its use as part of e.g. approximate bayesian computation schemes for inferring model parameters from data. these schemes weight parameters according to the closeness of a forward simulation of a model to true data, allowing for good parameter estimation even in the presence of extremely complicated disease dynamics. hence, sti-gmas has the potential to facilitate model simulation, parameterisation and inference within the same software package. the design of sti-gmas has extensibility at its core: further models will be added to the software in due course, subject to strict standards of clear model annotation and parameterisation being demonstrably met. the framework for incorporating these models is now well-defined, with templates in use for creation of codes for chaste simulations and for the graphical user interface itself. while we do not expect non-theoretical users to add new models to the software themselves, these templates ease the developers’ task of introducing new models as they arise, and the environment’s open source design makes the corresponding codes accessible to researchers of any background who do wish to become more familiar with the computational principles. the models discussed herein exhibit great scope for future extension. currently, a key limitation of spatial models lies in their focus upon only cervical tissue. expansion of the modelled domain to include regions up to the fallopian tubes, would allow for investigations of scarring, inflammation and pid. one direct target for such a model is the “arrested immunity” hypothesis proposed by, which suggests that although early antibiotic treatment can cure the chlamydial infection, it can also interrupt the development of immunity. consequently, the prevalence of chlamydia in the population does not decline but actually increases. however, early treatment can prevent the development of pid. the experimentalist may therefore question whether there exists a time frame during which antibiotic intervention can prevent pid but also allow the host to develop immunity, potentially leading to new antibiotic interventions. the mathematical model presented here exhibits many of the requirements of such a theoretical investigation, although it does not currently represent adequate regions of the host anatomy. we note that while work to date has focused upon within-host models of chlamydia, targets for future development within the sti-gmas environment are to incorporate both population-scale models, and models of other stis. many of the modelling techniques deployed here transfer directly to within-host models of other infections: models of gonorrhoea show particular similarity to those described above and, while having a different pathogenesis to that of chlamydia, syphilis and viral infections such as herpes simplex virus, human papillomavirus and viral hepatitis could be represented with models employing a highly similar process. future work will examine the above infections in isolation, as well as co-infections, and will incoporate such models into the sti-gmas software.  the sti-gmas environment represents, to the authors’ knowledge, the first software designed explicitly for in silico simulation of sti models by non-theoreticians. albeit a growing field, mathematical modelling of stis is in its relative infancy, with little uptake of models in biological domains. this software presents a novel route to bridging the gap between computational and clinical/experimental disciplines, and in doing so will stimulate dissemination and uptake of both existing and new theoretical models. as described above, the implementation of chlamydia models to date constitutes a template that can be easily extended to other stis. such extensions will be included in future releases. a key target for future development will be to include within sti-gmas a full geometric desciption of the genital tract, which can be deployed readily within new models, regardless of the infection under consideration. in parallel, key parameters will be identified in each of the key subtissues and made available across models. in doing so, sti-gmas will improve upon the current necessity for models to be heavily relient on phenomenological parameter values. we remark that, while sti-gmas has made headway in making computational models more accessible, a true bridging of disciplines would benefit greatly from a bidirectional exchange of information. the task of making experimental data available through repositories with robust annotation is considerable and unresolved, and has been the focus of many other vph-related initiatives; see e.g. for details. such integration of experimental data remains a long-term target for sti-gmas. availability and requirements project name: sti-gmas project home page: http://www.sti-gmas.org operating systems: linux, mac os x, windows programming language: c++, java other requirements: paraview license: 3-clause bsd restrictions to use by non-academics: none. competing interests the authors declare that they have no competing interests. authors’ contributions mrn and kjs led implementation of the software; bsb, dgm, dps and rgr guided development of contributory models. all authors contributed equally to production of this article. all authors read and approved the final manuscript. 
we present sti-gmas, an environment for simulation of sti models, with a view to stimulating the uptake of these models within the laboratory or clinic. sti-gmas represents the first software designed explicitly for in-silico simulation of sti models by non-theoreticians, thus presenting a novel route to bridging the gap between computational and clinical/experimental disciplines. while many within-host models of sexually-transmitted infections are available in existing literature, these models are difficult to deploy in clinical/experimental settings since simulations often require complex computational approaches. the complex processes of disease progression, namely replication and ascension of the infection through the genital tract, span both extracellular and intracellular physiological scales, and in females can vary over the distinct phases of the menstrual cycle. the software currently focuses upon the representative case-study of chlamydia trachomatis, the most common sexually-transmitted bacterial pathogen of humans. this example illustrates the ease with which existing models can be adapted to describe new studies, and its careful parameterisation within sti-gmas facilitates future tuning to experimental data as they arise.
 sexually-transmitted pathogens often have severe reproductive health implications if treatment is delayed or absent, especially in females. the complex processes of disease progression, namely replication and ascension of the infection through the genital tract, span both extracellular and intracellular physiological scales, and in females can vary over the distinct phases of the menstrual cycle. the complexity of these processes, coupled with the common impossibility of obtaining comprehensive and sequential clinical data from individual human patients, makes mathematical and computational modelling valuable tools in developing our understanding of the infection, with a view to identifying new interventions. while many within-host models of sexually-transmitted infections are available in existing literature, these models are difficult to deploy in clinical/experimental settings since simulations often require complex computational approaches.  we present sti-gmas, an environment for simulation of sti models, with a view to stimulating the uptake of these models within the laboratory or clinic. the software currently focuses upon the representative case-study of chlamydia trachomatis, the most common sexually-transmitted bacterial pathogen of humans. here, we demonstrate the use of a hybrid pde–cellular automata model for simulation of a hypothetical chlamydia vaccination, demonstrating the effect of a vaccine-induced antibody in preventing the infection from ascending to above the cervix. this example illustrates the ease with which existing models can be adapted to describe new studies, and its careful parameterisation within sti-gmas facilitates future tuning to experimental data as they arise.  sti-gmas represents the first software designed explicitly for in-silico simulation of sti models by non-theoreticians, thus presenting a novel route to bridging the gap between computational and clinical/experimental disciplines. with the propensity for model reuse and extension, there is much scope within sti-gmas to allow clinical and experimental studies to inform model inputs and drive future model development. many of the modelling paradigms and software design principles deployed to date transfer readily to other stis, both bacterial and viral; forthcoming releases of sti-gmas will extend the software to incorporate a more diverse range of infections. sexually-transmitted infectionscellular automatahybrid modelscomputational software 