a, Vaginal microbiome profiles from 41 women of non-African ancestry. Each facet represents the data from a single participant across all vaginal samples collected during her pregnancy. The samples, within each facet, are ordered from left to right based on their gestational age at sampling; same as Fig. 3a,b. The bars below each stacked bar indicate the strain of L. crispatus (1 or 2), L. jensenii (1 or 2), L. gasseri (1 or 2), L. iners (1 or 2), BVAB1 (1 or 2) or G. vaginalis (1, 2, 3 or 4). b, Vaginal microbiome profiles from 49 women of African ancestry. As for Extended Data Fig. 7, each facet represents the data from a single participant across all vaginal samples collected during her pregnancy. The samples, within each facet, are ordered from left to right based on their gestational age at sampling; same as Fig. 3a,b. The bars below each stacked bar indicate the strain of L. crispatus (1 or 2), L. jensenii (1 or 2), L. gasseri (1 or 2), L. iners (1 or 2), BVAB1 (1 or 2) or G. vaginalis (1, 2, 3 or 4).