Skip to main content

Modeling the temporal dynamics of cervicovaginal microbiota identifies targets that may promote reproductive health

A Correction to this article was published on 15 October 2021

This article has been updated



Cervicovaginal bacterial communities composed of diverse anaerobes with low Lactobacillus abundance are associated with poor reproductive outcomes such as preterm birth, infertility, cervicitis, and risk of sexually transmitted infections (STIs), including human immunodeficiency virus (HIV). Women in sub-Saharan Africa have a higher prevalence of these high-risk bacterial communities when compared to Western populations. However, the transition of cervicovaginal communities between high- and low-risk community states over time is not well described in African populations.


We profiled the bacterial composition of 316 cervicovaginal swabs collected at 3-month intervals from 88 healthy young Black South African women with a median follow-up of 9 months per participant and developed a Markov-based model of transition dynamics that accurately predicted bacterial composition within a broader cross-sectional cohort. We found that Lactobacillus iners-dominant, but not Lactobacillus crispatus-dominant, communities have a high probability of transitioning to high-risk states. Simulating clinical interventions by manipulating the underlying transition probabilities, our model predicts that the population prevalence of low-risk microbial communities could most effectively be increased by manipulating the movement between L. iners- and L. crispatus-dominant communities.


The Markov model we present here indicates that L. iners-dominant communities have a high probability of transitioning to higher-risk states. We additionally identify transitions to target to increase the prevalence of L. crispatus-dominant communities. These findings may help guide future intervention strategies targeted at reducing bacteria-associated adverse reproductive outcomes among women living in sub-Saharan Africa.

Video Abstract


The cervicovaginal microbiome impacts several important reproductive outcomes, including preterm birth [1, 2], fertility [3], cervicitis [4, 5], and risk of sexually transmitted infections (STIs) [6], including human immunodeficiency virus (HIV) [7,8,9,10]. We previously defined four discrete bacterial community assemblages, or cervicotypes (CTs), in the female genital tract (FGT) microbiome of a cohort of healthy Black South African women of reproductive age [11]. Approximately 60% of women in this cohort have diverse bacterial communities with low abundance of Lactobacillus species that can be classified into one of two CTs—CT3, which is dominated by Gardnerella vaginalis, and CT4, which features diverse taxa but is generally Prevotella-rich. The remainder of women in this cohort has low-diversity, Lactobacillus-dominant microbial communities dominated by either Lactobacillus crispatus (CT1, ~10% of total population) or Lactobacillus iners (CT2, ~30% of total population). The low population frequency of L. crispatus, which has been replicated in other sub-Saharan African cohorts [7, 12, 13], stands in marked contrast to findings among Caucasian women in the U.S. and Europe, where 80–90% of women have FGT microbiota dominated by Lactobacillus species with a higher prevalence of L. crispatus-dominated communities than of L. iners [14,15,16]. Importantly, CT3 and CT4 communities are highly correlated with genital pro-inflammatory cytokine concentrations when compared to Lactobacillus-dominated communities. In addition, CT4 is associated with higher numbers of activated cervical CD4+ T cells (i.e., HIV target cells) and an over four-fold higher risk of HIV acquisition [11]. Notably, high diversity cervicovaginal communities with low Lactobacillus abundance are a characteristic feature of clinical bacterial vaginosis (BV), a common condition associated with vaginal symptoms such as discharge, malodor, and discomfort [17]. BV can be treated with antibiotics, but treatment frequently fails to durably establish a low-diversity, Lactobacillus-dominated state [18, 19] that appears optimal for reproductive health.

While cross-sectional surveys provide valuable insight into FGT bacterial population structure and disease associations, they fail to capture important information about temporal changes in bacterial composition. Longitudinal studies performed in high-resource countries have shown that cervicovaginal communities can be dynamic, with composition shifting between community state types over the span of days to weeks [20,21,22,23,24]. No study to date has used sequencing-based approaches to model temporal dynamics of the FGT microbiota in women living in sub-Saharan Africa, where diverse microbial communities predominate and where the burden of adverse reproductive outcomes associated with these microbial communities is greatest. We hypothesized that longitudinally characterizing FGT bacterial composition in a representative sub-Saharan African cohort would allow us to model the dynamics that shape population-level prevalence patterns and identify potential targets for interventions to promote low-risk microbial communities.

In order to elucidate the longitudinal dynamics of FGT bacterial composition, we performed culture-independent bacterial 16S rRNA gene sequencing and bacterial community profiling on cervical swabs collected at 3-month intervals from a cohort of healthy, HIV-uninfected, Black South African women, and classified them into CTs. We constructed a Markov-based model of CT transitions and performed Monte Carlo simulation and parameter sensitivity analyses to predict interventions that could effectively shift CT stationary distributions from high-inflammatory CT3 and CT4 to low-inflammatory CT1. We found that CT2 (L. iners-dominant) acted as a gateway to more diverse and stable CT3 and CT4 communities, which were previously associated with elevated genital inflammation [25]. Interestingly, we found that direct transitions between CT1 and CT3 or CT4 were rare. Monte Carlo simulation and parameter sensitivity analyses predicted that blocking the transition from CT1 to CT2 and boosting the transition from CT2 to CT1 would be the most effective intervention to increase population prevalence of L. crispatus-dominant communities (CT1), which are associated with lower levels of mucosal inflammation and more favorable reproductive health.


Markov-based model of cervicovaginal microbiota temporal dynamics identifies transient and persistent states

In order to characterize the longitudinal dynamics of FGT microbiota, we collected cervicovaginal swab samples at 3-month intervals from 88 healthy, HIV-uninfected, Black South African women enrolled in the FRESH (Females Rising Through Educational Support and Health) cohort [26]. Participants had a median age of 21 years (range 18 to 24 years) at the time of initial sample collection, and baseline survey data on sexual-behavioral and vaginal hygiene practices were available for 86 of the 88 participants (Supplementary Table 1). Forty-four participants (50%) reported currently being on some form of hormonal or long-acting contraceptive method at baseline, with the majority on injectable hormonal contraception including depot-medroxyprogesterone acetate (30.7%) or norethisterone enantate (9.1%). Sixty-six participants (75%) reported sex within the past 30 days, with a median of two sexual encounters per participant; none reported having more than one partner during that interval. Of the 66 participants reporting recent sexual activity, 24 (27.3%) reported always using condoms, 30 (34.1%) reported sometimes using condoms, and 12 (13.6%) reported never using condoms. Although antibiotic usage information was not collected at the time these participants were enrolled, analysis of 1444 sampling encounters within the study occurring after institution of antibiotic usage surveys indicated that self-reported antibiotic usage was rare, with only 3.46% of encounters reporting antibiotic treatment in the preceding 30 days.

Longitudinal sampling covered a median follow-up duration of 9 months per participant (range 3–21 months) with a median of 3 samples per participant (range 2–7 samples) for a total of 316 samples (Fig. 1A). The microbial composition of the samples was characterized through bacterial 16S rRNA gene sequencing, and bacterial communities were classified into cervicotypes (CTs) as previously described [11].

Fig. 1
figure 1

A Cervicotype (CT) assignments were given to 316 samples taken from 88 women. Each row represents the cervicotype designation for each sample in a time series of a given woman. Points are joined when adjacent samples are separated by a 3-month interval. BD Principle coordinate analysis (PCoA) of Bray-Curtis dissimilarity of species-level relative abundances. Samples are colored by CT assignment with ellipses representing an interval of 2 standard deviations around the centroid of a given cluster. B Points represent samples projected in to the PCoA space. C Adjacent time points separated by a 3-month interval are connected by an arrow colored by the CT designation of the early time point. D Summing the vectors by the CT designation of the earlier timepoint shows the overall direction of movement of samples beginning in a particular CT

To visualize transitions between CTs, we performed principal coordinate analysis (PCoA) on Bray-Curtis dissimilarity of species-level relative abundances (Fig. 1B). Using arrows to represent transitions between adjacent timepoints for a participant (excluding any transitions that spanned missing timepoints), we observed numerous movements in PCoA space over time, demonstrating the dynamic nature of these communities, with many transitions from low-diversity to high-diversity CTs (Fig. 1C, Suppl. Fig. 1). By taking the vector sum of arrows leaving each CT, we determined the net movement in PCoA space starting from a given CT (Fig. 1D). This demonstrated that individuals with CT1 communities had the tendency to transition to CT2, while CT2 communities moved toward CT3 and CT4 states. Direct transitions between CT1 and CT3 or CT4 were rarely observed and women with CT3 or CT4 communities tended to stay within these diverse states (Suppl Fig. 1 and 2; Suppl. Video 1).

We next implemented a discrete-time stochastic model for probabilistic forecasting over the CT state space in order to better understand the longitudinal transitions between communities. To force tractability of the model, we assumed memorylessness—namely, the model was conditional on the present CT where the future and past states were independent, an approach that has previously been used to model dynamics of vaginal bacteria in Western populations [1, 24]. These properties allowed us to apply a finite-state-space, time-homogenous, discrete-time Markov chain model to our data. Each state in the Markov chain was one of the four CTs, and each discrete timestep represented a 3-month interval between sample collection. Examining the transition probabilities (Fig. 2A), we saw that CT1 had a high probability of remaining (0.52) or transitioning to CT2 (0.33), whereas the probability of transitioning to CT3 or CT4 was much lower at 0.05 and 0.10, respectively. Like CT1, CT2 had a high probability of remaining (0.62), although CT2 communities had a higher probability of transitioning to CT3 and CT4 (0.18 and 0.14, respectively). Furthermore, the probability of movement to CT1 was low at 0.07, whereas the movement from CT1 to CT2 was much higher at 0.33. For CT3 and CT4, there was a high probability of remaining in these highly diverse community states (summed probability of 0.81 and 0.78, respectively). Both CT3 and CT4 had low probabilities of transitioning to CT2 (0.18 and 0.21, respectively) and rarely transitioned to CT1 (0.02 and 0.01, respectively).

Fig. 2
figure 2

A Transition probabilities of moving from one CT to another after a 3-month interval. B The mean simulated 3-month time steps required to move between CTs. C Markov model diagram of transition states over the CT space where arrow thickness is proportional to the probability of that transition occurring. Number of breaks in the arrow reflects the number of 3-month time steps required to move between community states. D The proportions of the population in each CT at equilibrium state of the Markov chain model is not significantly different to an empiric distribution observed in a prior study from the same cohort (Cressie-Read power divergence statistic = 2.90, p value = 0.407)

To further explore the adherence to each CT, we calculated the mean number of timesteps required to transition between each pair of CTs (Fig. 2B). We found that it took 7 and 6.7 steps to transition from CT1 to CT3 or CT4, respectively. However, it took 30 steps to move in the reverse direction, from CT3 or CT4 to CT1. Unlike CT1, the transition from CT3 or CT4 back to CT2 took just 5 times steps. The largest disparity in directionality was between CT1 and CT2, with CT1 to CT2 transition taking just 3.6-time steps while the reverse took 27.

Overall, analyses performed on the Markov model indicate that L. iners-dominant CT2 acts as an intermediary or “gateway” state between L. crispatus-dominant CT1 communities, which are most strongly associated with favorable reproductive outcomes, and the more diverse and higher-risk communities, CT3 and CT4 (Fig. 2C).

Having established that the Markov chain model shows differences in community adherence, we assessed whether the model could predict an empiric distribution of CTs within the same population. To do this, we calculated the stationary distribution of the transition probability matrix. The median CT distribution predicted by this calculation was not significantly different from a previously reported empirical CT distribution of a large cross-sectional sample (n = 236 participants) from the same cohort [11] (Fig. 2D; Cressie-Read power divergence statistic = 2.90, p value = 0.407; a power calculation determined that we were able to detect a total probability difference across all CTs of 5% or greater at a p value threshold of 0.05; Suppl Fig. 3). The concordance between simulated and empiric distributions supported the validity of the underlying Markov model and suggested that it could be used to make valid predictions about the effects of different types of interventions on cervicotype distributions within the populations.

L. iners-dominated communities with higher diversity have a greater probability of transitioning

In order to better understand the community transitions, we compared samples that remained in the same CT at the next timepoint (“Remained”, R) and those that transitioned to a different CT (“Transitioned”, T; Fig. 3A). We observed that the Shannon alpha diversity was significantly higher in CT2 communities which transitioned compared to those that remained (p < 0.05; Fig. 3B). In contrast, CT1, CT2, and CT4 transitions were not associated with differences in Shannon alpha diversity.

Fig. 3
figure 3

A Stacked barplots depicting the microbial composition of 316 samples from 88 women; samples are separated by cervicotype (CT) assignment and subdivided by samples from communities which remain in the same CT (R) at the next timepoint and communities that transition to a different CT (T). B CT2 communities which transitioned to another CT had a higher Shannon alpha diversity than those that remained (non-parametric two-sample Monte Carlo t tests. *p < 0.05)

Time-discrete perturbations that establish CT2, CT3, or CT4 dominance revert to the equilibrium state more rapidly than perturbations that establish CT1 dominance

Treatment of bacterial vaginosis (BV) using Lactobacillus-based probiotics or antibiotics such as metronidazole can shift cervicovaginal communities to Lactobacillus-dominant states [20, 27, 28], but recurrence rates after BV treatment are high [18, 19, 29, 30]. After demonstrating that transition probabilities between the different CTs can explain an equilibrium state with a high prevalence of diverse, pro-inflammatory communities, we investigated the impact of simulated perturbations at a single timepoint on subsequent CT distribution dynamics. We simulated transition dynamics following a theoretical intervention shifting all individuals in the population to a single CT. We then determined the number of time points it would take to assume the equilibrium distribution of the model by iteratively calculating the chi-squared p value between the number of individuals predicted to be in that state at each simulated timepoint and the equilibrium distribution, defining a return to equilibrium as a p value > 0.05 (Suppl. Fig. 4). A population beginning with CT2, CT3, or CT4 quickly rebounded, reaching the equilibrium distribution after just 3 iterations (Fig. 4). Although CT3 and CT4 communities need to pass through intermediate CT2 to replenish CT1 numbers, the low numbers of CT1 communities in the equilibrium distribution mean this was quickly achieved. Shifting to CT1 slowed the recurrence to the equilibrium state, requiring 5 iterations (Fig. 4), reflecting the additional time taken to move through the CT2 intermediate state to replenish the high numbers of CT3 and CT4 communities. These results show that regardless of the cross-sectional intervention, none are particularly effective at shifting the population CT distribution for long periods; however, cross-sectional interventions shifting to CT1 appear to have more durable effects than other cross-sectional interventions.

Fig. 4
figure 4

Simulated transition dynamics following a theoretical intervention shifting all individuals in the population to a single CT. CT2, CT3, and CT4 quickly assume the equilibrium distribution whereas CT1 populations have a markedly slower movement (distributions are grayed out when chi-squared p value between the perturbed distribution and the equilibrium distribution of the Markov Model exceeded 0.05)

Shifting CT1-CT2 transition probabilities has the largest predicted impact on the prevalence of L. crispatus-dominant communities

After demonstrating the transient effects of time-discrete interventions on population-level CT prevalence, we next investigated the impact of changes on the underlying transition probabilities of the chain. Specifically, we modeled the effects of two types of simulated interventions on predicted population equilibrium distributions of CTs: “boosting,” which increases the probability of a directional transition between two CTs, and “blocking,” which reduces the probability of a directional transition.

We simulated blocking and boosting interventions between high (CT3 and CT4) and low (CT1 and CT2) diversity communities, calculating new CT stationary distributions based on the modified transition probability matrices (Fig. 5). We focused on the fold increase in CT1 population prevalence at equilibrium, as any clinical intervention would ideally increase CT1 prevalence given its association with favorable reproductive outcomes. Corresponding to our previous findings regarding the transient nature of L. iners dominance, blocking or boosting transitions between CT2-CT3 and CT2-CT4 had a negligible effect on the proportion of CT1 communities at equilibrium (Fig. 5E, D). The most effective interventions were boosting the transition from CT2 to CT1 and blocking the transition from CT1 to CT2 (Fig. 5A). For example, both boosting and blocking the CT2 to CT1 transition by 50% resulted in a 4.1-fold increase in CT1 communities at equilibrium. However, the same 50% boost and block of CT3 to CT1 transition resulted in only a 2.5-fold increase in CT1 communities. Similarly boosting and blocking CT4 to CT1 transition resulted in a 2.7-fold increase. Boosting and blocking of all other CT pairs had less than a 1.25-fold increase in CT1 communities at equilibrium. These findings indicate that interventions specifically targeting the L. crispatus to L. iners transition may have the greatest impact on increasing the number of women with low-inflammatory, L. crispatus-dominated communities within the population.

Fig. 5
figure 5

AE Predicted fold-change in proportion of population in CT1 at stationary distribution following edge-boost and edge-block interventions along an individual edge (with the indicated boost and block rates) between combinations of high (CT3 and CT4) and low (CT1 and CT2) diversity communities. The most effective intervention to increase CT1 prevalence in the population was to simultaneously boost the transition from CT2 to CT1 and block the transition from CT1 to CT2 (A)


The FGT microbiome is associated with adverse reproductive outcomes in sub-Saharan Africa [12]. Although the temporal dynamics of vaginal microbiota have been studied in North American populations [20,21,22,23], they have not been explored in sub-Saharan African populations. Extrapolation of observations from North America to sub-Saharan African women has been hindered by differences in both the species comprising the FGT microbiome and differences in the prevalence of various species amongst the respective populations. To address these limitations, we used 16S rRNA gene sequencing to profile the bacterial composition of 316 samples collected at 3-month intervals from 88 participants enrolled in an observational cohort of healthy, HIV-uninfected, Black South African women, and then constructed a Markov model to explore the persistence and transition of the microbiome between four previously described community states. We show that in a South African population, L. iners dominated communities (CT2) act as a gateway between L. crispatus dominated communities (CT1), previously associated with favorable reproductive outcomes, and stable, high-diversity communities (CT3 and CT4), which have been associated with adverse reproductive outcomes [11]. A similar study conducted in North American populations by Brooks et al. 2017, combining data from multiple longitudinal studies with varying sampling intervals, explored longitudinal FGT community dynamics using a different classification system called community state types (CSTs) [20,21,22, 24, 31]. Within this definition, L. iners is found in high abundance in two CSTs, CST3 and CST9. Under the CT definition described in Anahtar et al. 2015 for our South African population, there is only one community with high abundance of L. iners, CT2 [25]. These differences in definition make some comparisons between North American and South African findings challenging. However, through summing of the weekly mean transition probabilities of CST3 and CST9, we can approximate a single North American L. iners-dominant state allowing us to compare transition probabilities across populations. This reveals that in North American women the most likely transition from L. crispatus-dominated CST1 was to a community dominated by Lactobacillus jensenii (CST5; mean daily transition probability of 0.15), a species which is rarely found in women in sub-Saharan Africa. The largest transition probability from CST5 was back to CST1 (mean weekly transition probability of 0.13). The summed transition probability of moving from CST1 or CST5 to L. iners dominated communities CST3 and CST9 was lower than in our study at 0.07 and 0.1, respectively. Both CST1 and CST5 had a high probability of remaining (mean daily transition probability of 0.46 and 0.48, respectively). These differences in transition probabilities of community states within North American and South African populations may explain the observed higher degree of diverse communities in South African compared to North American women.

Longitudinal studies have performed sampling over varying intervals, including daily [20], weekly [21, 31], and multiple months [22]. Short-term (daily or weekly) sampling intervals have utility in identifying individual factors such as menses that can cause acute or transient changes in bacterial community state composition. However, short sampling intervals may be less well suited to capture the long-term dynamics of community state transitions within a population. We hypothesized that sampling at a 3-month interval would provide insight into the cumulative, long-term transition dynamics that shape overall prevalence of different community states within a population. In confirmation, the CT transition probabilities identified using our 3-month sampling interval predicted a population equilibrium state that accurately reflected true, empiric CT prevalences determined by a cross-sectional profiling of a larger sub-cohort of participants from the FRESH study. This result suggests that our model based on a 3-month interval accurately captures the multifactorial dynamics which maintain CT distributions in this population.

We simulated the effects of various interventions on shifting population prevalence of different microbial community states. Our modeling predicted that time-discrete interventions (simulating one-time shifts to a particular community state without altering underlying probabilities of transitioning between different states) had relatively transient effects at the population level, with the population returning to its equilibrium distribution within 9 months if shifted to CT2, CT3, or CT4. Shifting to CT1 provided moderately more durable effects, with a return to equilibrium distribution estimated to require 15 months. The longer-lasting effects of shifts to CT1 (L. crispatus-dominant) are relevant because standard BV treatment tends to promote dominance by L. iners rather than L. crispatus [20, 27, 28], which may partially explain the frequency and rapidity of BV relapse after therapy [29, 30]. Our model predicts that the most effective intervention to increase the proportion of South African women with L. crispatus-dominant communities would be to simultaneously boost transition from L. iners- to L. crispatus-dominant communities, while blocking the reverse transition from L. crispatus- to L. iners-dominant communities. Possible interventions to shift CT2-CT1 transitions may include introduction of a L. crispatus probiotic along with approaches to selectively kill or inhibit L. iners growth.

Our study had a number of limitations. Cervicotype and CST assignments are a high-level characterization of the microbiota on a population scale and do not fully account for dynamics of individual species or distinguish whether key species such as L. crispatus are genuinely absent or simply present at low levels within individual hosts with non-CT1 bacterial communities. It is possible that more subtle species-level dynamics influence community transitions and that an individual with a CT3 or CT4 community from which L. crispatus is entirely absent may be less likely to transition to a CT1 community. Additionally, our study examines a relatively culturally and geographically homogeneous population of young Black women in a specific urban township community in KwaZulu-Natal, South Africa. The precise microbiota dynamics we report here may depend on factors that differ from other populations in sub-Saharan Africa and beyond, limiting generalizability. However, we note that the cross-sectional cervicotype distribution we report in this cohort resembles cross-sectional distributions observed among women in numerous other sub-Saharan cohorts in countries including South Africa, Zambia, and Rwanda [7, 12, 32]. Therefore, it is possible that community transition dynamics similar to those we report here may also maintain empiric distributions elsewhere across the continent.

Microbial composition and dynamics can be influenced by a wide variety of factors including sexual and vaginal hygiene practices [7, 33, 34], hormonal and menstrual state (including effects of contraception) [20, 35], pregnancy and childbirth [1, 20], antibiotic exposure [36], smoking [37], genetics [37, 38], and socioeconomic factors, the combined effects of which likely account for geographic and racial/ethnic differences between populations [11, 12, 14,15,16]. Our study’s strength relies on its analysis of an observational cohort of young women with few major exclusion criteria except HIV infection, major pre-existing illness, or pregnancy [26, 39]. Our Markov model, constructed using longitudinal data from a subset of study participants, predicts a microbiome population equilibrium matching the true prevalence within the larger cohort, suggesting we can accurately model the net effects of unmeasured microbiota-influencing factors within this population and make valid population-level predictions about effects of different types of interventions. Future studies will be needed to assess the relative contribution of individual behavioral, socioeconomic, and biological factors in shaping specific dynamics within this population.


The findings presented here advance our understanding of the longitudinal dynamics of the cervicovaginal microbiota in sub-Saharan African women. We identified the transient nature of CT2, a microbial community state dominated by L. iners, and suggest that interventions which target the transition between CT2 and L. crispatus-dominant CT1 will have the greatest impact in shifting populations of South African women towards health-associated, low-inflammatory L. crispatus-dominant bacterial communities. Current widely used antibiotic therapies for BV are unlikely to favorably shift the CT1/CT2 balance [40]; thus, our findings identify a role for novel, microbiome-directed therapies to help reduce rates of adverse reproductive outcomes, including HIV acquisition, among women living in sub-Saharan African.

Materials and methods

Study cohort and sample collection

The 88 study participants were 18- to 24-year-old Black women recruited between 2013 and 2017 with more than two consecutive samples available separated by 3 months, and this cohort was a sub-population of the larger Females Rising through Education, Support, and Health (FRESH) prospective observational study in Umlazi, South Africa [26]. Exclusion criteria included positive HIV-1 viral load, positive pregnancy test, or other significant medical co-morbidity at enrollment. Longitudinal samples from 88 HIV-uninfected women in the cohort were analyzed, each with between 2 and 7 samples (Fig. 1A). The study protocol was approved by the Biomedical Research Ethics Committee of the University of KwaZulu-Natal and the Massachusetts General Hospital Institutional Review Board (2012P001812/MGH), and all participants provided informed consent. HIV status was assessed by twice-weekly HIV RNA viral load testing on finger-prick blood samples, and all microbial samples analyzed here were from visits at which concurrent viral load testing was negative. Genital specimens including the ectocervical swabs (Catch-All Epicenter) used for microbiome analysis were collected at 3-month intervals. Contraception, medication usage, and sexual and hygiene practices were self-reported via survey questions with results as detailed in Supplementary Table 1.

Sequencing, processing, taxonomic assignment, and cervicotype assignment

DNA was extracted from the ectocervical swab, and the V4 region of the 16S rRNA gene was amplified and sequenced in an Illumina MiSeq as previously described [25]. DADA2 [41] was used to quality filter, trim, and resolve amplicon sequence variants (ASVs). Initial taxonomic annotation was performed using DADA2 and RDP training set 16; species-level annotations were assigned when an ASV had an exact match to a sequence in the RDP species set 16 ( Taxonomic assignments were further curated using an internally developed taxonomic database (ASV taxonomic assignments can be found in Suppl. file 1).

A cervicotype was assigned to each sample as previously described [11]. In brief, relative abundances of ASVs were summed at species-level where possible and genus-level otherwise. CT1 communities were defined as communities with ≥50% relative abundance of non-iners Lactobacillus species. Analysis of all CT1 non-iners Lactobacillus reads found that >97% were L. crispatus. Communities in which L. iners or Gardnerella species had the highest relative abundance were defined as CT2 or CT3, respectively, while communities in which another taxon was most abundant were assigned to CT4.

Markov chain implementation

Markov chain stationary distributions were calculated using the inverse iterative method in Pykov ( The average steps required to return to a CT were calculated with the “mean first passage time” (mfpt_to) function in Pykov.

Markov chain simulation

CT-level Markov Chain simulation was performed by matrix-multiplying the previous timepoint’s CT distribution and the transition probability matrix Q to generate a new probability vector over the state space. These probability vectors represent the simulated CT distribution after a 3-month time interval. We thus iteratively multiplied the transition probability matrix Q by an artificial vector assigning 100% of samples to each of the four CTs to simulate the time course of returning to equilibrium after a cross-sectional event shifting the entire population to 100% assignment to each of the CTs in 3-month intervals. We define a simulation as having converged to equilibrium if a chi-square test comparing a timepoint of a simulated distribution to the stationary distribution is not statistically significant with p value > 0.05.

PCoA-space Monte Carlo simulations were performed by stochastically moving to a point in PCoA space close to the true next point (with probability decreasing exponentially with distance). Multivariate Gaussian noise was applied to the PCoA coordinates before animation.

Boost and block interventions

The boost interventions shifts α probability density in the transition matrix from returning to CTb instead of transitioning to CTa as can be seen in the pseudocode below:

$$ boost\left( CTa, CTb,\alpha \right):\kern2em {Q}_{b,b}\leftarrow {Q}_{b,b}-\alpha {Q}_{b,b}\kern2em {Q}_{b,a}\leftarrow {Q}_{b,a}+\alpha {Q}_{b,b} $$

The block intervention shifts Β probability density in the transition matrix from transitioning to CTb to instead returning to CTa as can be again seen in the pseudocode below:

$$ block\left( CTa, CTb,\beta \right):\kern2em {Q}_{a,b}\leftarrow {Q}_{a,b}-\beta {Q}_{a,b}\kern2em {Q}_{a,a}\leftarrow {Q}_{a,a}+\beta {Q}_{a,b} $$


Differences in CT Shannon alpha diversity were calculated using a non-parametric two-sample Monte Carlo t tests. P values are two-sided and are not adjusted for multiple hypothesis testing. Statistical analyses were performed in Python with SciPy [42] and NumPy [43].

Availability of data and materials

Raw V4 16S data can be found on NCBI BioProject PRJNA730929.

Change history


  1. DiGiulio DB, Callahan BJ, McMurdie PJ, Costello EK, Lyell DJ, Robaczewska A, et al. Temporal and spatial variation of the human microbiota during pregnancy. Proc Natl Acad Sci U S A. 2015;112(35):11060–5.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  2. Callahan BJ, DiGiulio DB, Goltsman DSA, Sun CL, Costello EK, Jeganathan P, et al. Replication and refinement of a vaginal microbial signature of preterm birth in two racially distinct cohorts of US women. In: Proc Natl Acad Sci U S A; 2017. p. 9966–71.

    Google Scholar 

  3. Haahr T, Jensen JS, Thomsen L, Duus L, Rygaard K, Humaidan P. Abnormal vaginal microbiota may be associated with poor reproductive outcomes: a prospective study in IVF patients. Hum Reprod. 2016;31(4):795–803.

    Article  CAS  PubMed  Google Scholar 

  4. Marrazzo JM, Wiesenfeld HC, Murray PJ, Busse B, Meyn L, Krohn M, et al. Risk factors for cervicitis among women with bacterial vaginosis. J Infect Dis. 2006;193(5):617–24.

    Article  PubMed  Google Scholar 

  5. Gorgos LM, Sycuro LK, Srinivasan S, Fiedler TL, Morgan MT, Balkus JE, et al. Relationship of specific bacteria in the cervical and vaginal microbiotas with cervicitis. Sex Transm Dis. 2015;42(9):475–81.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  6. Allsworth JE, Peipert JF. Severity of bacterial vaginosis and the risk of sexually transmitted infection. Am J Obstet Gynecol. 2011;205(2):113 e1–6.

    Article  Google Scholar 

  7. Borgdorff H, Tsivtsivadze E, Verhelst R, Marzorati M, Jurriaans S, Ndayisaba GF, et al. Lactobacillus-dominated cervicovaginal microbiota associated with reduced HIV/STI prevalence and genital HIV viral load in African women. ISME J. 2014;8(9):1781–93.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  8. Low N, Chersich MF, Schmidlin K, Egger M, Francis SC, van de Wijgert JH, et al. Intravaginal practices, bacterial vaginosis, and HIV infection in women: individual participant data meta-analysis. PLoS Med. 2011;8(2):e1000416.

    Article  PubMed  PubMed Central  Google Scholar 

  9. Martin HL, Richardson BA, Nyange PM, Lavreys L, Hillier SL, Chohan B, et al. Vaginal lactobacilli, microbial flora, and risk of human immunodeficiency virus type 1 and sexually transmitted disease acquisition. J Infect Dis. 1999;180(6):1863–8.

    Article  CAS  PubMed  Google Scholar 

  10. Myer L, Kuhn L, Stein ZA, Wright TC Jr, Denny L. Intravaginal practices, bacterial vaginosis, and women's susceptibility to HIV infection: epidemiological evidence and biological mechanisms. Lancet Infect Dis. 2005;5(12):786–94.

    Article  PubMed  Google Scholar 

  11. Gosmann C, Anahtar MN, Handley SA, Farcasanu M, Abu-Ali G, Bowman BA, et al. Lactobacillus-deficient cervicovaginal bacterial communities are associated with increased HIV acquisition in young south african women. Immunity. 2017;46(1):29–37.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  12. Bayigga L, Kateete DP, Anderson DJ, Sekikubo M, Nakanjako D. Diversity of vaginal microbiota in sub-Saharan Africa and its effects on HIV transmission and prevention. Am J Obstet Gynecol. 2019;220(2):155–66.

    Article  PubMed  Google Scholar 

  13. Lennard K, Dabee S, Barnabas SL, Havyarimana E, Blakney A, Jaumdally SZ, et al. Microbial composition predicts genital tract inflammation and persistent bacterial vaginosis in South African adolescent females. Infect Immun. 2018;86(1).

  14. Ravel J, Gajer P, Abdo Z, Schneider GM, Koenig SS, McCulle SL, et al. Vaginal microbiome of reproductive-age women. Proc Natl Acad Sci U S A. 2011;108(Suppl 1):4680–7.

    Article  PubMed  Google Scholar 

  15. Borgdorff H, van der Veer C, van Houdt R, Alberts CJ, de Vries HJ, Bruisten SM, et al. The association between ethnicity and vaginal microbiota composition in Amsterdam, the Netherlands. PLoS One. 2017;12(7):e0181135.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  16. Fettweis JM, Brooks JP, Serrano MG, Sheth NU, Girerd PH, Edwards DJ, et al. Differences in vaginal microbiome in African American women versus women of European ancestry. Microbiology. 2014;160(Pt 10):2272–82.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  17. McKinnon LR, Achilles SL, Bradshaw CS, Burgener A, Crucitti T, Fredricks DN, et al. The evolving facets of bacterial vaginosis: implications for HIV transmission. AIDS Res Hum Retrovir. 2019;35(3):219–28.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Bradshaw CS, Pirotta M, De Guingand D, Hocking JS, Morton AN, Garland SM, et al. Efficacy of oral metronidazole with vaginal clindamycin or vaginal probiotic for bacterial vaginosis: randomised placebo-controlled double-blind trial. PLoS One. 2012;7(4):e34540.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  19. Woodman Z. Can one size fit all? Approach to bacterial vaginosis in sub-Saharan Africa. In: Ann Clin Microbiol Antimicrob; 2016.

    Google Scholar 

  20. Ravel J, Brotman RM, Gajer P, Ma B, Nandy M, Fadrosh DW, et al. Daily temporal dynamics of vaginal microbiota before, during and after episodes of bacterial vaginosis. Microbiome. 2013;1(1):29.

    Article  PubMed  PubMed Central  Google Scholar 

  21. Gajer P, Brotman RM, Bai G, Sakamoto J, Schutte UM, Zhong X, et al. Temporal dynamics of the human vaginal microbiota. Sci Transl Med. 2012;4(132):132ra52.

    Article  PubMed  PubMed Central  Google Scholar 

  22. Human Microbiome Project C. Structure, function and diversity of the healthy human microbiome. Nature. 2012;486(7402):207–14.

    Article  CAS  Google Scholar 

  23. Chaban B, Links MG, Jayaprakash TP, Wagner EC, Bourque DK, Lohn Z, et al. Characterization of the vaginal microbiota of healthy Canadian women through the menstrual cycle. In: Microbiome; 2014. p. 23.

    Google Scholar 

  24. Brooks JP, Buck GA, Chen G, Diao L, Edwards DJ, Fettweis JM, et al. Changes in vaginal community state types reflect major shifts in the microbiome. Microb Ecol Health Dis. 2017;28(1):1303265.

    Article  PubMed  PubMed Central  Google Scholar 

  25. Anahtar MN, Byrne EH, Doherty KE, Bowman BA, Yamamoto HS, Soumillon M, et al. Cervicovaginal bacteria are a major modulator of host inflammatory responses in the female genital tract. Immunity. 2015;42(5):965–76.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  26. Ndung'u T, Dong KL, Kwon DS, Walker BD. A FRESH approach: combining basic science and social good. Sci Immunol. 2018;3(27).

  27. Joag V, Obila O, Gajer P, Scott MC, Dizzell S, Humphrys M, et al. Impact of standard bacterial vaginosis treatment on the genital microbiota, immune milieu, and ex vivo human immunodeficiency virus susceptibility. Clin Infect Dis. 2019;68(10):1675–83.

    Article  CAS  PubMed  Google Scholar 

  28. Mitchell C, Manhart LE, Thomas K, Fiedler T, Fredricks DN, Marrazzo J. Behavioral predictors of colonization with Lactobacillus crispatus or Lactobacillus jensenii after treatment for bacterial vaginosis: a cohort study. Infect Dis Obstet Gynecol. 2012;2012:706540–6.

    Article  PubMed  PubMed Central  Google Scholar 

  29. Bradshaw CS, Morton AN, Hocking J, Garland SM, Morris MB, Moss LM, et al. High recurrence rates of bacterial vaginosis over the course of 12 months after oral metronidazole therapy and factors associated with recurrence. J Infect Dis. 2006;193(11):1478–86.

    Article  PubMed  Google Scholar 

  30. Cohen CR, Wierzbicki MR, French AL, Morris S, Newmann S, Reno H, et al. Randomized trial of lactin-V to prevent recurrence of bacterial vaginosis. N Engl J Med. 2020;382(20):1906–15.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  31. Chaban B, Links MG, Jayaprakash TP, Wagner EC, Bourque DK, Lohn Z, et al. Characterization of the vaginal microbiota of healthy Canadian women through the menstrual cycle. Microbiome. 2014;2(1):23.

    Article  PubMed  PubMed Central  Google Scholar 

  32. Price JT, Vwalika B, Hobbs M, Nelson JAE, Stringer EM, Zou F, et al. Highly diverse anaerobe-predominant vaginal microbiota among HIV-infected pregnant women in Zambia. PLoS One. 2019;14(10):e0223128.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  33. Forcey DS, Vodstrcil LA, Hocking JS, Fairley CK, Law M, McNair RP, et al. Factors associated with bacterial vaginosis among women who have sex with women: a systematic review. PLoS One. 2015;10(12):e0141905.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  34. Cottrell BH. An updated review of evidence to discourage douching. MCN Am J Matern Child Nurs. 2010;35(2):102–7; quiz 8-9.

    Article  PubMed  Google Scholar 

  35. Jespers V, Kyongo J, Joseph S, Hardy L, Cools P, Crucitti T, et al. A longitudinal analysis of the vaginal microbiota and vaginal immune mediators in women from sub-Saharan Africa. Sci Rep. 2017;7(1):11974.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  36. Srinivasan S, Liu C, Mitchell CM, Fiedler TL, Thomas KK, Agnew KJ, et al. Temporal variability of human vaginal bacteria and relationship with bacterial vaginosis. PLoS One. 2010;5(4):e10197.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  37. Ryckman KK, Simhan HN, Krohn MA, Williams SM. Predicting risk of bacterial vaginosis: the role of race, smoking and corticotropin-releasing hormone-related genes. Mol Hum Reprod. 2009;15(2):131–7.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  38. Mehta SD, Nannini DR, Otieno F, Green SJ, Agingu W, Landay A, et al. Host genetic factors associated with vaginal microbiome composition in kenyan women. mSystems. 2020;5(4).

  39. Dong KL, Moodley A, Kwon DS, Ghebremichael MS, Dong M, Ismail N, et al. Detection and treatment of Fiebig stage I HIV-1 infection in young at-risk women in South Africa: a prospective cohort study. Lancet HIV. 2018;5(1):e35–44.

    Article  PubMed  Google Scholar 

  40. Petrina MAB, Cosentino LA, Rabe LK, Hillier SL. Susceptibility of bacterial vaginosis (BV)-associated bacteria to secnidazole compared to metronidazole, tinidazole and clindamycin. Anaerobe. 2017;47:115–9.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  41. Callahan BJ, McMurdie PJ, Rosen MJ, Han AW, Johnson AJ, Holmes SP. DADA2: high-resolution sample inference from Illumina amplicon data. Nat Methods. 2016;13(7):581–3.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  42. Virtanen P, Gommers R, Oliphant TE, Haberland M, Reddy T, Cournapeau D, et al. SciPy 1.0: fundamental algorithms for scientific computing in Python. Nat Methods. 2020;17(3):261–72.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  43. van der Walt S, Colbert SC, Varoquaux G. The NumPy array: a structure for efficient numerical computation. Comp Sci Eng. 2011;13(2):22–30.

    Article  Google Scholar 

Download references


We would like to thank all of the study participants and staff at FRESH (Females Rising Through Educational Support and Health).

Code availability

All code used for the generation of the study’s analyses is available at


M.R.H., S.B., N.A.M., and D.S.K. were supported by NIH R01 AI111918. D.S.K. and S.B. were supported by the Harvard University Center for AIDS Research (NIH P30 AI060354). M.R., J.X., M.S.G., and D.S.K. were supported by the Ragon Institute of MGH, MIT, and Harvard. D.S.K. was supported by the Burroughs Wellcome Fund. The FRESH Cohort was supported by the Bill and Melinda Gates Foundation. Funding had no impact on the design of the study; collection, analysis, or interpretation of data; or in writing the manuscript.

Author information

Authors and Affiliations



Conceptualization and methodology, A.M., M.R.H., and D.S.K.; Formal analysis, A.M., M.R.H., S.M.B., M.R., and M.S.G.; Sample processing, S.M.B, S.N., N.A.M, N.X., N.I., and J.X.; Sequencing, S.M.B., N.A.M., and S.N.; Collection of metadata, M.D., K.L.D., and T.N.; Writing—original draft, A.M., M.R.H., and D.S.K.; Writing—reviewing and editing, all authors; Visualization, A.M., M.R.H., S.M.B, and D.S.K.; Supervision: D.S.K.; Funding acquisition: D.S.K. The authors read and approved the final manuscript.

Corresponding author

Correspondence to Douglas S. Kwon.

Ethics declarations

Consent to publication

Not applicable

Ethics approval and consent to participate

The study protocol was approved by the Biomedical Research Ethics Committee of the University of KwaZulu-Natal and the Massachusetts General Hospital Institutional Review Board (2012P001812/MGH), and all participants provided informed consent.

Competing interests

The authors declare that they have no competing interests.

Additional information

Publisher’s Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

The original online version of this article was revised: “Musie S. Ghebermichael” should read “Musie S. Ghebremichael” in the authors' name.

Supplementary Information

Additional file 1.

Supplementary fig. 1 PCoA of Bray-Curtis dissimilarity of species-level relative abundances of 316 samples from 88 women, split by CT of origin, with arrows depicting the movement of a community between sequential time points.

Additional file 2.

Supplementary fig. 2 Table showing the number of transitions between CTs observed in the study.

Additional file 3.

Supplementary fig. 3 Statistical power calculation for identifying a given difference between empiric and equilibrium distributions.

Additional file 4.

Supplementary fig. 4 The number of iterations taken for the models to pass a p-value significance threshold of 0.05 (chi-sq between perturbed and equilibrium distributions).

Additional file 5.

Supplementary file 1 Taxonomic assignment to ASVs.

Additional file 6.

Supplementary movie 1 Monte Carlo simulation showing the possible movement, at a 3-month time interval, of an individual through the PCoA-space displayed in Fig 1b.

Additional file 7.

Supplementary table 1 Cohort demographics.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit The Creative Commons Public Domain Dedication waiver ( applies to the data made available in this article, unless otherwise stated in a credit line to the data.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Munoz, A., Hayward, M.R., Bloom, S.M. et al. Modeling the temporal dynamics of cervicovaginal microbiota identifies targets that may promote reproductive health. Microbiome 9, 163 (2021).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: