Introduction

The vaginal microbiota has an important role in protecting against a range of adverse obstetric and gynaecological outcomes including miscarriage, preterm birth, and transmission and acquisition of sexually transmitted diseases (STIs) and HIV1,2,3,4. The optimal vaginal microbiota of reproductive aged women is typically characterised by low bacterial diversity and high relative abundance of Lactobacillus spp., commonly Lactobacillus crispatus5,6,7.

Bacterial vaginosis (BV) is the most common vaginal dysbiosis and is characterised by a decrease in lactobacilli and increase in the diversity and abundance of facultative and strict anaerobic bacteria including Gardnerella vaginalis5,8,9. The pathogenesis of BV is complex and mounting epidemiological and microbiological evidence suggests that sexual activity has a role in both BV incidence and recurrence. Inconsistent condom use and new or increased numbers of sexual partners have been shown by meta-analysis to increase BV risk10. Other sexual practices associated with increased risk of BV include penile-vaginal sex11,12, vaginal sex after anal sex12, receptive oral sex with a female partner13,14, and shared use of sex toys between women13,15,16. BV prevalence is high amongst women who have sex with women (WSW) with estimates ranging from 25–52%16,17,18,19,20,21. Whether increased prevalence of BV in WSW is due to sexual practices or other factors is not known.

A number of studies have found sexual activity is associated with disturbance of the vaginal microbiota22,23,24,25, however there are limited data describing how specific sexual practices influence the vaginal microbiota in WSW. Mitchell et al.26 used culture methods and found that sharing of sex toys with female partners was associated with reduced concentration of Lactobacillus, and digital vaginal sex and sex toy use was associated with increased colonization of G. vaginalis.

Understanding how specific sexual practices influence the composition of the vaginal microbiota and contribute to vaginal dysbiosis and BV is important in order to develop effective treatment and prevention strategies. The primary objective of our study was to describe the impact of sexual practices on the vaginal microbiota of a subset of women participating in a cohort of Australian WSW.

Results

Description of participants at baseline and longitudinally

Baseline characteristics and sexual practices of participants are summarised in Table 1. Specimens from 102 women were initially selected for inclusion in the study; however two were removed post quality control of sequencing data (as described below), leaving 100 women in the study population. The median age of participants at enrolment was 28 years (interquartile range[IQR] 24–37 years). Most women were Australian born (86%), had tertiary level education (81%) and had a female sexual partner (FSP) at enrolment (72%). Twenty-two percent of women reported a past history of BV.

Table 1 Characteristics of study participants at baseline.

Longitudinally, most women reported receiving oral sex from an FSP (85%) and use of sex toys with an FSP (72%). Fourteen women (14%) reported vaginal sex with a male during the study period. Forty women (40%) reported sex with a new partner in one or more interval (25 women reported one new sexual partner and 15 women two or more new partners over the study period). New partners were predominantly female; 28 women reported a female new partner/s, three women reported having a male new partner/s and nine women reported both female and male new partners.

A total of 372 specimens from 102 women underwent sequencing and 5,061,171 sequence reads were generated. Following quality control, 4,942,634 reads representing 393 ASVs remained. Nine specimens had <1000 reads and were excluded; consequently two participants were excluded from analysis as one did not have an enrolment specimen and one did not have longitudinal specimens post quality control. Thus, a total of 360 specimens from 100 women were included in analyses. This included 100 enrolment specimens and 260 longitudinal specimens, 47 of which represented incident BV. The median number of reads per specimen was 12,504 (IQR 7,460–18,344).

Vaginal community state types

Hierarchical clustering identified eight community state types (CSTs), Fig. 1. Five CSTs were characterised by Lactobacillus: CST1-L. crispatus (n = 152 specimens), CST2-Lactobacillus mixed (comprised of L. crispatus and L. iners; n = 29), and CST3-L. iners (n = 93), CST6-L. gasseri (n = 5), CST8-L. jensenii/L. fornicalis (n = 10). The remaining three CSTs were: CST4-G. vaginalis and diverse (n = 40 specimens), CST5-anaerobic and diverse (n = 28), CST7-Bifidobacterium longum (n = 3). The five most prevalent taxa identified in specimens in CST5 were BV-associated bacteria Dialister spp., Prevotella spp., G. vaginalis, L. iners and Peptoniphilus spp. For analysis purposes, the two small Lactobacillus CSTs (CST6 and CST8) were combined with CST2-Lactobacillus mixed, and CST7-B. longum was combined with other anaerobic dominated specimens in CST5-anaerobic and diverse.

Figure 1
figure 1

The vaginal microbiota of women who have sex with women. The heatmap displays the relative abundance of the 15 most abundant bacteria detected in women in this study. Hierarchical clustering of Euclidean distances with Ward linkage was used to determine eight community state types (CST): CST1-L. crispatus, CST2-Lactobacillus mixed, and CST3-L. iners (n = 93), CST4-G. vaginalis and diverse, CST5-anaerobic and diverse, CST6-L. gasseri, CST7-Bifidobacterium longum, CST8-L. jensenii/L. fornicalis. Exposure to a new sexual partner in the preceding 90 days is indicated above the heatmap.

All women at baseline had normal (Nugent Score [NS] = 0–3, n = 92/100) or intermediate microbiota (NS = 4–6, n = 8/100) by the NS method9. Most women (n = 90) clustered into a Lactobacillus dominated CST (CST1-L. crispatus (n = 41), CST2-Lactobacillus mixed (n = 19) and CST3-L. iners (n = 30)).

Of the longitudinal specimens with normal (NS = 0–3, n = 204) and intermediate (NS = 4–6, n = 9) microbiota, most (89%) clustered to a Lactobacillus CST [CST1-L. crispatus (n = 111/213, 52%), CST2-Lactobacillus mixed (n = 24/213; 11%) and CST3-L. iners (n = 55/213; 26%)]. The majority of incident BV specimens (NS = 7–10, n = 47) clustered with CST4-G. vaginalis and diverse (n = 26/47; 55%) and CST5-anaerobic and diverse (n = 12/47; 26%).

Factors associated with vaginal microbiota diversity

In univariate analyses, sex with a new partner compared with no sex or sex in an ongoing relationship (defined as relationship for >3 months) was significantly associated with increased bacterial diversity of the vaginal microbiota (coefficient = 0.49, 95%CI: 0.30,0.68, p < 0.001; Table 2). Other characteristics associated with increased microbiota diversity included self-reported past history of BV, smoking, having two or more sexual partners in a study interval (i.e. the period of time between two specimen collections), frequent sexual activity (several times/week), receptive oral sex from any FSP and self-report of BV symptoms (abnormal vaginal odour and/or vaginal discharge; Table 2). Douching and sharing of sex toys had a borderline association with increased diversity.

Table 2 Characteristics and sexual practices associated with bacterial diversity of the vaginal microbiota.

We included sex with a new partner, frequency of sex, smoking, oral sex and past history of BV in a multivariable model (Table 2). Digital anal sex was not included in adjusted analyses to limit over-fitting the model. Sex with a new partner (adjusted coefficient = 0.41, 95%CI: 0.21,0.60, p < 0.001), frequent sex (adj. coefficient = 0.20, 95%CI: 0.00,0.41, p = 0.049) and past history of BV (adj. coefficient = 0.26, 95%CI: 0.04,0.48, p = 0.018) were significantly associated with increased diversity of the vaginal microbiota. Smoking and receptive oral sex with an FSP were not associated with diversity adjusted analyses.

To explore the relationship between oral sex, exposure to a new sexual partner, and microbiota diversity, we investigated 1) the impact of new partner exposure on diversity stratified by receptive oral sex, and 2) investigated the interaction between new partner exposure and receptive oral sex. Although new partner exposure was significantly associated with microbiota diversity in women reporting oral sex and not in women who did not practice oral sex (Supplementary Table 1), the 95% confidence intervals overlapped, suggesting no statistical difference in the effect of new partner by oral sex, and furthermore there was no evidence of interaction when formally tested (p = 0.110).

Factors associated with instability of the vaginal microbiota

Compositional change (instability) was measured by change of CST and Bray-Curtis dissimilarity score, calculated between consecutive longitudinal specimens.

Eighty-three women (83%) experienced at least one change of CST during the study period, accounting for 138 instances of CST change. Interestingly, changing between different Lactobacillus CSTs (n = 66/138, 48% of all CST changes) was as common as changing from a Lactobacillus CST to CST4-G. vaginalis and diverse or CST5-anaerobic and diverse (n = 50/138, 36%).

Practices significantly associated with change of CST by univariate analysis (smoking and sex with a new partner) were included in a multivariable model with CST of index specimen (i.e. the first specimen of each consecutive pair; Table 3). In the adjusted analysis, sex with a new partner (adjusted odds ratio [AOR] 2.65, 95%CI: 1.34,5.22, p = 0.005) and smoking (AOR 1.79, 95%CI: 1.03,3.11, p = 0.039) were both associated with an increased odds of change of CST when adjusted for CST of index specimen. Additionally, women with a vaginal microbiota classified as CST2-Lactobacillus mixed (AOR = 6.65, 95%CI: 2.81,15.76, p < 0.001), CST3-L. iners (AOR = 3.13, 95%CI: 1.67,5.87, p < 0.001) or CST5-anaerobic and diverse (AOR 13.18, 95%CI: 2.83,61.31, p < 0.001) were more likely to change CST in the next interval compared with women with a vaginal microbiota of CST1-L. crispatus. Having a CST4-G. vaginalis and diverse microbiota was not significantly associated with change of CST, likely because the majority of CST4 samples represented an endpoint specimen i.e. incident BV (n = 26/40, 65%).

Table 3 Characteristics and sexual practices associated with instability of the vaginal microbiota as measured by change of CST between consecutive specimens.

By multinomial regression, women reporting sex with a new partner were more likely than women without a new partner to change from a Lactobacillus CST (i.e. CST1/2/3) to a non-Lactobacillus dominated CST relative to not changing CST (relative risk ratio [RRR] = 4.18, 95%CI: 2.06,8.50, p < 0.001). Smokers were more likely than non-smokers to change between Lactobacillus CSTs (RRR = 2.21, 95%CI: 1.15,4.23, p = 0.017) or change from a Lactobacillus CST to a non-Lactobacillus dominated CST (i.e. CST4/5; RRR = 2.04, 95%CI: 1.11,3.75, p = 0.021) relative to not changing CST. Figure 2 summarises changes of CST in each participant longitudinally and indicates when sex with a new partner was reported.

Figure 2
figure 2

Longitudinal changes of community state type in women reporting sex with a new partner. Each column represents a participant and sequential longitudinal specimens are ordered from baseline to endpoint. Boxes are coloured according to community state type (CST). *Indicates a report of sex with a new partner. Most women changed CST at least once during the study. Change of CST occurred in 36/40 (90%) women who reported exposure to a new partner and 47/60 (78%) women who did not report sex with a new partner.

Practices significantly associated with instability of the vaginal microbiota (i.e. increased Bray-Curtis scores between consecutive samples) by univariate analysis were included in a multivariable model that also included CST of the index specimen (Table 4). Sex with a new partner (adj. coefficient = 0.21, 95%CI: 0.11, 0.31, p < 0.001) and smoking (adj. coefficient = 0.09, 95%CI: 0.01, 0.18, p = 0.036) were associated with increased instability of the microbiota, adjusted for index specimen CST. Additionally, having a vaginal microbiota in the index specimen of CST3-L. iners (adj. coefficient = 0.25, 95%CI: 0.15,0.34, p < 0.001), CST4-G. vaginalis and diverse (adj. coefficient = 0.24, 95%CI: 0.05,0.43, p = 0.013) or CST5-anaerobic and diverse (adj. coefficient = 0.44, 95%CI: 0.30,0.60, p < 0.001) was associated with increased instability of the vaginal microbiota longitudinally compared to a L. crispatus (CST1) vaginal microbiota.

Table 4 Characteristics and sexual practices associated with instability of the vaginal microbiota as measured by Bray-Curtis dissimilarity between consecutive specimens.

Practices impacting the vaginal microbiota composition

After considering factors that influence stability of the microbiota, we looked at specific characteristics and sexual practices that influenced the vaginal microbiota composition by multinomial logistic regression. In univariate analyses (Supplementary Table 2), we found women who reported sex with a new partner in the previous 90 days were more likely than women reporting no sex or sex in an ongoing relationship to have a vaginal microbiota of CST4-G. vaginalis abundant and diverse (RRR = 4.09, 95%CI: 1.69,9.92, p = 0.002) or CST5-anaerobic and diverse (RRR = 5.37, 95%CI: 2.18,13.20, p < 0.001) than one of CST1. Women who reported smoking were more likely than non-smokers to have anaerobic microbiota (CST5) relative to CST1 (RRR = 3.01,95%CI: 1.31,6.92, p = 0.009). Women who reported receptive oral vaginal sex from an FSP or sharing of unwashed sex toys with an FSP were more likely to have a CST4 microbiota, and women who douched or had a past history of BV were more likely to have a CST5 microbiota (Supplementary Table 2). Women reporting recent menses (defined as onset of menses within 7 days of specimen collection) were more likely than women not reporting recent menses (>7 days from specimen collection) to have a CST2-Lactobacillus-mixed or CST3-L. iners microbiota composition relative to CST1 microbiota, but were not more likely to have a G. vaginalis (CST4) or anaerobic microbiota (CST5).

We included past history of BV, receptive oral sex from a FSP, sex with a new partner, sharing of unwashed sex toys with an FSP smoking and recent menses in a multivariable multinomial regression model (Table 5). Women reporting sex with a new partner were more likely than women reporting no sex or sex in an ongoing relationship to have a CST4-G. vaginalis and diverse (adjusted-RRR = 3.45, 95%CI: 1.42,8.41, p = 0.006) or CST5-anerobic and diverse vaginal microbiota (adjusted-RRR = 3.62, 95%CI: 1.43,9.14, p = 0.007) relative to a CST1 vaginal microbiota. Women reporting that they shared unwashed sex toys with an FSP were more likely than women not reporting this practice to have a CST4 vaginal microbiota (adjusted-RRR = 2.49, 95%CI: 1.05,5.91, p = 0.038). Women reporting smoking were more likely than non-smokers to have a CST5-anaerobic and diverse vaginal microbiota relative to a CST1 vaginal microbiota (adjusted-RRR = 2.94, 95%CI: 1.16,7.43, p = 0.023). Women with a past-history of BV were more likely to have a CST5 vaginal microbiota (adjusted-RRR = 3.18, 95%CI: 1.13,8.91, p = 0.028), and women reporting recent menses were more likely to have a CST2 (adjusted-RRR = 3.89, 95%CI: 1.58,9.50, p = 0.003) or CST3 (adjusted-RRR = 2.37, 95%CI: 1.14,4.90, p = 0.020) vaginal microbiota.

Table 5 Characteristics and practices associated with vaginal microbiota composition by multivariable multinomial logistic regression.

Discussion

In this longitudinal cohort study of women who have sex with women, specific sexual practices influenced the bacterial diversity, stability and composition of the vaginal microbiota. Sex with a new partner (primarily representing new FSPs) was associated with an increase in bacterial diversity and an increase in compositional change (or instability) of the vaginal microbiota, both in terms of change of CST and increased Bray-Curtis dissimilarity. Furthermore, women who reported sex with a new partner were more likely than women reporting no sex/sex in an ongoing relationship to have a vaginal microbiota characterised by BV-associated anaerobic bacteria or G. vaginalis, relative to an optimal microbiota characterised by L. crispatus. This study highlights the influence of practices on the development of a non-optimal vaginal microbiota and provides microbiological support for the sexual exchange of bacteria between women. These microbiological findings complement the previously reported epidemiological data from the original cohort13,18 which showed sex with a new partner was associated with a 2.5-fold increased risk of BV acquisition.

There is increasing evidence to support the sexual transmission of vaginal bacteria between WSW. Longitudinal studies in this population have shown that one of the greatest risk factors for BV is having a sexual partner with a history of BV, BV symptoms or microbiologically confirmed BV13,14. A recent study demonstrated that incident BV occurred at a median of 4 days post sexual activity in 93% of WSW, indicating a similar incubation period to that of other STIs27. An early study looking at the transmission dynamics of BV demonstrated that transfer of vaginal secretions between women resulted in BV in 11 of 15 women28. Furthermore, high concordance of Nugent Score categories between FSP13,15,17,18,19 and evidence that women in monogamous relationships share Lactobacillus strains29 in their vaginas supports exchange of bacteria between women during sex. In our study, women who shared unwashed sex toys and/or received oral sex from an FSP were more likely than women not reporting these practices to have an anaerobic or G. vaginalis abundant vaginal microbiota than a microbiota dominated by L. crispatus. Sexual practices are frequently highly correlated, so it is difficult to determine whether one activity has a greater impact on the vaginal microbiota than others. However, both oral sex with an FSP and sex toy use involve exchange of bodily fluids to varying degrees and therefore promote exchange of bacteria between women. Additionally, both practices have been reported as a risk factor for BV10,13,14,16. Collectively, these data suggest that female partner treatment of women with BV may be an effective strategy to improve BV cure and warrants further investigation.

Change of CST was common in our study, in accordance with previous reports that show the vaginal microbiota can be highly dynamic22,23,30. Compositional change (or instability) of the vaginal microbiota between consecutive specimens was primarily influenced by the bacteria present in the index specimen. Collectively, women with a low diversity L. crispatus dominated vaginal microbiota were more likely to have a stable microbiota longitudinally and were less likely to experience change of CST than women with a diverse microbiota or a microbiota abundant in L. iners or G. vaginalis. Our findings are consistent with one study22 that analysed the vaginal microbiota of 32 women sampled twice-weekly for 16-weeks. Gajer et al.22 reported that L. crispatus and L. gasseri dominated microbiota appeared to be stable, and that sexual activity negatively impacted stability. Interestingly, practices and microbiological characteristics associated with change of CST were highly consistent with those associated with increasing instability of the microbiota (measured by Bray-Curtis), suggesting change of CST may be a useful measure of microbiota instability31.

Smoking had a broad ranging effect on the diversity, stability and composition of the vaginal microbiota, and past studies have shown an association between smoking and BV and/or vaginal microbiota composition that was dose dependent18,32,33,34. There are a number of possible explanations for this association. Smokers have been shown to have reduced oestradiol levels compared non-smokers35, and reduced oestrogen has been associated with non-optimal Lactobacillus-deficient vaginal microbiota36. Furthermore, it is well established that nicotine has detrimental effects on the immune system, including reduced production of inflammatory cytokines and decreased functionality of neutrophils and macrophages37, and nicotine and its derivatives have been detected in the vaginal metabolome38. It is possible that modulation of immune responses may result in reduced clearance of G. vaginalis and other BV-associated bacteria (similar to what has been observed for human papillomavirus39) or prevent maintenance of an optimal Lactobacillus vaginal microbiota. The association between smoking and vaginal microbiota instability seen in our study is interesting and may be because the microbiota composition that is found more commonly in smokers (i.e. anaerobic and diverse microbiota) is inherently more unstable than others, such as those dominated by L. crispatus. It is also possible that observed associations between smoking and adverse microbiota composition and instability are due to unmeasured confounding; however, the fact that this association has been shown to be dose dependent in some studies and persists in adjusted analysis provides evidence for a biological association.

A number of other factors were associated with vaginal microbiota composition, stability and/or diversity including past history of BV, menses and douching. The finding that past history of BV was associated with both increased bacterial diversity and an anaerobic microbiota may represent persistence or re-emergence of a polymicrobial BV-biofilm40,41, or alternatively the influence of other factors such as host genetics or immune function37, diet42 or contraceptive practices43. Both douching and menses have been shown in a number of studies to adversely alter vaginal microbiota composition and stability22,44,45, and consistent with this, we found that douching was associated with anaerobic and diverse vaginal microbiota and had a borderline adverse effect on microbiota stability in univariate analyses. While recent menses did not have an effect on microbiota diversity or stability in our study, it did influence microbiota composition. Women were more likely to have a vaginal microbiota abundant in L. iners (i.e. CST2 or CST3) if their specimen was collected within seven days of onset of menses, consistent with data that shows L. iners grows best on media containing blood46,47.

Hormonal contraception may have a beneficial impact on the vaginal microbiota48. However, we found no association between hormonal contraception and microbiota diversity, stability or composition, which may be because only a small number of women reported hormonal contraceptive use in the parent cohort.

There are a number of limitations to this study. The study population comprised highly educated women who were predominately Australian born and reported Australian or English ethnicity, which may limit the generalizability of our findings. Specimens were collected every three months which limited our ability to assess immediate effect of sexual practices behaviours on the vaginal microbiota and any short-term fluctuations in microbiota composition. Specimens included in the analysis were not selected randomly or from specified study time points which may have biased results. We did not include negative controls alongside specimens during sequencing, however we removed contaminants previously identified using the same extraction methodology, primer set up and sequencing instrument49 and the microbiota profiles are consistent with those previously published6,25,50. Finally, this study did not assess practices or the vaginal microbiota of the sexual partner/s of participants so we cannot definitively prove sexual transmission of BV-associated bacteria is occurring between women. Nevertheless, the microbiota data presented here is consistent with epidemiological data that supports sexual transmission of BV in WSW13,14.

This study shows that sex with a new partner is associated with changes in the vaginal microbiota of WSW, including increased diversity and increased abundance of bacteria commonly associated with a non-optimal vaginal microbiota. These findings suggest that sexual exchange of bacteria, including BV-associated bacteria, occurs between female sexual partners, and highlight the influence of specific practices on the development of a non-optimal vaginal microbiota. These data are important for informing strategies to promote a vaginal microbiota that is associated with optimal reproductive health, as well as new approaches to improve BV cure such as female partner treatment.

Methods

Participant and specimen selection

Participants were selected from the Women On Women’s (WOW) Health study, a two-year cohort of 298 WSW designed to examine epidemiological and microbiological factors associated with incident BV13,18. Women reported a FSP within 18 months prior to enrolment and were BV negative (NS < 79) on three consecutive baseline vaginal smears collected one week apart. Women self-collected a vaginal swab and smear, and completed a detailed questionnaire every three months until study endpoint (diagnosis of incident BV [NS = 7–10] or 24 months without BV). Women were instructed to avoid specimen collection on the heaviest days of their menstrual cycle13.

For the microbiota sub-study, we included all women who developed incident BV (n = 51) and an equal number of women who did not (initially controls were over-selected using a random sort command in Stata/IC (v14.2, StataCorp LP, College Station, USA)). Seven of the 51 women to develop incident BV co-enrolled in the original cohort with their FSP13. As such, controls were then frequency matched on co-enrolment status and age to ensure a similar distribution of both variables (for example, the last non co-enrolled control was replaced with the next randomly selected co-enrolled control). Each woman contributed a baseline specimen and an endpoint specimen (BV-specimen from women with incident BV or the 24 month specimen from women without BV). Up to three interim specimens were included for each woman (typically the last two specimens collected prior to the endpoint specimen). If a specimen could not be used/located, an earlier specimen from that participant was used.

Ethical approval was obtained from the Human Research Ethics Committees of Alfred Hospital, Melbourne, Australia and the University of Melbourne. All research was performed in accordance with the National Statement on Ethical Conduct in Human Research. Informed written consent was obtained from all participants for the use of their specimens in the current study.

Laboratory methods

Swabs were agitated in 1 mL RNAlater (Thermo Fisher Scientific, Waltham, USA) and stored at −80 °C prior to DNA extraction using the MagNA Pure 96 instrument and the DNA and Viral NA small volume kit (Roche Diagnostics, Mannheim, Germany). Dual index primers 341 F/805 R with heterogeneity spacers51,52,53 were used for PCR amplification of the V3-V4 hypervariable regions of the 16S rRNA gene. Libraries were sequenced by Micromon Genomics (Micromon, Monash University, Victoria, Australia) on the MiSeq platform (Illumina, San Diego, CA, USA). Sequence reads are available in the NCBI Sequence Read Archive under Bioproject PRJNA434520.

Sequence data analysis

Barcodes were extracted using QIIME v1.9.054 and demultiplexing was performed using idemp (https://github.com/yhwu/idemp). Primers and heterogeneity spacers were removed using TagCleaner standalone version 0.1655. Reads were processed using DADA2 v1.6.056. Reads were truncated based on quality profiles (at 250 bases for read 1 and 220 bases for read 2) and were discarded if they had ambiguous bases or exceeded the number of expected errors based on quality scores. Chimeras were identified and removed. Taxonomy was assigned using the default RDP Classifier implemented in DADA2 and the Silva reference database (v128)57. Species level assignment was performed using exact matching in the DADA2 package and taxonomy for Lactobacillus spp. was confirmed by a BLAST search against a database of 16S rRNA gene sequences from 158 type strains. Not all ASVs were able to be assigned to species level.

BV-associated bacteria (BVAB)−1 has previously been misclassified as Shuttleworthia58 and BVAB3 is named as Fastidiosiplia in the Silva database59. We aligned Shuttleworthia and Fastidiosiplia ASVs against BVAB1 (NCBI GenBank AY724739.1), BVAB2 (AY724740.1) and BVAB3 (AY724741.1) using Clustal Omega (EMBL-EBI)60,61. Shuttleworthia ASV had 100% identity to BVAB1. Two Fastidiosiplia ASVs had high identity to BVAB2 (99.50 and 100% identity, respectively), and a third Fastidiosiplia ASV had 100% identity to BVAB3. The ASVs were reclassified accordingly.

ASVs were removed if they had a total abundance of less than 0.001% or were present in only one specimen. The ASV table was screened for contaminants previously identified in negative controls49, as well as common sequencing contaminants (removed ASVs belonging to Facklamia and Shewanella genera and Halomonadaceae family)62,63. Specimens with fewer than 1000 reads were excluded from analysis. Participants were excluded if they did not have an enrolment specimen or did not have any follow-up specimens.

Diversity metrics and CST were generated using the Vegan package64 and R Studio [V 1.1.419, Boston, USA] employing R v3.4.3. Alpha diversity was calculated using the Shannon Diversity Index using ASV data. ASVs assigned to the same taxonomy were merged and the relative abundance of each taxon was used for CST identification. Hierarchical clustering of Euclidean distances with Ward linkage was performed on the relative abundance of each taxon and a scree plot of within cluster distances was used to inform the number of CSTs. Bray-Curtis dissimilarity scores were calculated between consecutive paired specimens from each participant. The heatmap was generated using the ComplexHeatmap package65 and the same metrics used to identify CSTs. Change of CST was defined as change or no change in CST between consecutive paired specimens.

Statistical analysis

Statistical models that accounted for repeated measures within individuals were fitted using generalised estimating equations (GEE) to investigate the impact of characteristics and practices on the diversity (Shannon-Diversity Index) and instability (change of CST or Bray-Curtis dissimilarity) of the vaginal microbiota. GEE linear regression analyses were used when the outcome was Shannon-Diversity Index or Bray-Curtis dissimilarity, with the regression coefficient representing the mean difference of each outcome between the reference and comparison group/s for each characteristic/practice investigated. GEE logistic regression was used when change of CST was the outcome. Characteristics and practices deemed significant in univariate analyses (p < 0.05) were included in multivariable analyses.

We also analysed the type of CST change observed. Specimens were allocated one of four change type between sequential specimens: (1) no change; (2) change from one Lactobacillus CST to another Lactobacillus CST; (3) change from one Lactobacillus CST to a non-Lactobacillus CST; or (4) change from a non-Lactobacillus CST to any other CST. Multinomial regression was used to investigate the relationship between practices and type of CST change relative to the risk of no change, generating relative risk ratios and 95% confidence intervals.

Multinomial regression was also used to assess associations between characteristics and microbiota composition (i.e. CST-classification of a sample). CST1-L. crispatus was the reference group for all analyses. This analysis calculated the risk of having a vaginal microbiota of a specific CST (details of CSTs provided in results below) compared to the risk of a vaginal microbiota of CST1, clustering for multiple samples from individual participants.

Characteristics and practices deemed significant in univariate analyses (p < 0.05) were included in multivariable analyses. Statistical analyses were performed using STATA v14.2, unless otherwise specified.