Skip to main content
Microbiology Resource Announcements logoLink to Microbiology Resource Announcements
. 2026 Sep 11;15(10):e00612-26. doi: 10.1128/mra.00612-26

VISTA: a classifier for metagenomic subspecies and community state typing of the vaginal microbiome

Johanna B Holm 1,2,3,✉,#, Amaury Maros 1,2,#, Amanda Williams 1,2,3, Michael France 1,2,3, Jacques Ravel 1,2,3
Editor: Patrick D Schloss4
PMCID: PMC13689079  PMID: 42725726

ABSTRACT

Metagenomic community state types (mgCSTs) capture within-species genetic and functional diversity and community structure of the vaginal microbiome, enabling precise links between microbiome composition, function, and health-related risk. VISTA, the Vaginal Inference of Subspecies and Typing Algorithm, is a two-step classifier that assigns mgCSTs to vaginal metagenomes, providing standardized, scalable classifications.

KEYWORDS: human microbiome, metagenome, vaginal microbiota, host-microbe, bioinformatics, genomics, species, subspecies, strain, function

ANNOUNCEMENT

Using metataxonomic data, vaginal microbiota can be categorized into five community state types (CSTs), each predominated by specific species (CST I: Lactobacillus crispatus; CST II: Lactobacillus gasseri; CST III: Lactobacillus iners; CST V: Lactobacillus jensenii) or characterized by a paucity of Lactobacillus and a diverse array of anaerobes (CST IV) (1, 2). CSTs enable dimensionality reduction of complex microbiota data sets to facilitate evaluation of associations between the vaginal microbiota and urogenital and reproductive health (2–14). Metagenomic sequencing of the vaginal microbiome has revealed substantial genetic and functional diversity, encompassing more than 1.7 million non-redundant genes (15). Accounting for this diversity allows for more precise risk estimates and helps elucidate the mechanisms linking the microbiome to clinical outcomes.

To facilitate such analyses and promote cross-study comparability, we developed VISTA, the Vaginal Inference of Subspecies and Typing Algorithm. VISTA is a two-step classifier that first assigns metagenomic subspecies (mgSs) using species-specific gene presence data and then assigns metagenomic community state types (mgCSTs) based on mgSs and species composition (16) (Fig. 1). The input consists of gene profiles derived from metagenomes mapped to VIRGO2, a comprehensive gene catalog of the vaginal microbiome (15). The outputs are (i) a sample-by-mgSs abundance matrix and (ii) per-sample mgCST classifications. The biological utility of these classifications is described in a companion manuscript (16).

Fig 1.

Flowchart showing VISTA workflow processing vaginal metagenomes through VIRGO2 gene profiling, then run_VISTA.R for mgSs assignment via Random Forest and mgCST assignment via Nearest-Neighbor Centroid, yielding abundances and heatmaps.

Overview of the VISTA workflow. Metagenomic sequencing reads are first processed with VIRGO2 to generate a compiled gene abundance profile. VISTA then performs a two-step classification procedure: (i) assignment of mgSs using species-specific random forest models and (ii) assignment of mgCSTs using nearest-centroid classification based on inferred mgSs composition. Outputs include mgSs abundance matrices, mgCST assignments, similarity scores, and visualization files.

To generate the VISTA reference framework, we used VIRGO2-v.1.0.0-mapped gene abundance profiles from 2,528 vaginal metagenomes as input (15). Gene counts were multiplied by the sequencing read length and divided by gene length to estimate gene coverage. A vaginal orthologous group (VOG) (15) presence table was then generated, wherein a VOG was considered present if at least one of its member genes exhibited ≥0.5× coverage. Species were eligible for mgSs analysis if ≥80% of samples containing the species achieved ≥90% coverage of its average coding sequence repertoire, resulting in 73 eligible species. For each species, samples were clustered based on Jaccard distances calculated from binary VOG profiles using Ward’s minimum variance hierarchical clustering implemented in vegan-v.2.6-8 under R-v.4.4.0 (17–19). Initial clusters were identified using dynamicTreeCut-v.1.63-1 (20). Cluster robustness was evaluated by comparison of observed silhouette scores with those derived from 10 randomized presence-absence matrices in which 10% of entries were randomly perturbed. Clusters were iteratively merged until observed silhouette scores exceeded those from the randomized data. This process defined 262 mgSs across the 73 species. Samples were subsequently represented by the relative abundances of the constituent mgSs, and mgCSTs were identified by clustering samples using Jensen-Shannon distances and Ward’s minimum variance method. This approach defined 25 mgCSTs that serve as the reference classifications used by VISTA. Default parameters were used except where otherwise noted. Tenfold cross-validation yielded a mean out-of-bag error rate of 8.9% for mgSs assignment and a mean accuracy of 87.8% for mgCST classification.

Using these reference classifications, VISTA implements a two-step classification workflow with R. First, random forest models (randomForestSRC-v.3.3.1) assign mgSs from VIRGO2-derived, species-specific gene presence profiles (21, 22). Second, a nearest-neighbor centroid classifier assigns samples to one of the 25 mgCSTs based on their predicted mgSs composition. While not all microbiome niches exhibit discrete community types, the VISTA framework can be applied to other microbial ecosystems, supporting population-level epidemiological investigations.

ACKNOWLEDGMENTS

The research reported in this publication was supported by National Institute of Allergy and Infectious Diseases grants from the National Institutes of Health (NIH) under award numbers K01-AI163413 (J.B.H.) and UH2AI083264 (J.R.). A.W. was supported by T32AI162579 from NIAID.

Contributor Information

Johanna B. Holm, Email: jholm@som.umaryland.edu.

Patrick D. Schloss, University of Michigan, Ann Arbor, Michigan, USA

EDITOR'S NOTE

Ed. Note: This article was handled by Pat Schloss, who acted as a guest editor in consultation with the editor in chief, Irene Newton. Dr. Schloss's role as the guest editor of this article is outside of his duties as the chair of the Journals Committee.

DATA AVAILABILITY

VISTA v2.0 is available at https://github.com/JHolm-Lab/VISTA (DOI: 10.5281/zenodo.21937773) under the GNU General Public License version 3 (GPL-3.0). The software is implemented in R and has been tested on Linux- and macOS-based systems.

REFERENCES

  • 1. Ravel J, Gajer P, Abdo Z, Schneider GM, Koenig SSK, McCulle SL, Karlebach S, Gorle R, Russell J, Tacket CO, Brotman RM, Davis CC, Ault K, Peralta L, Forney LJ. 2011. Vaginal microbiome of reproductive-age women. Proc Natl Acad Sci USA 108 Suppl 1:4680–4687. doi: 10.1073/pnas.1002611107 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2. France MT, Ma B, Gajer P, Brown S, Humphrys MS, Holm JB, Waetjen LE, Brotman RM, Ravel J. 2020. VALENCIA: a nearest centroid classification method for vaginal microbial communities based on composition. Microbiome 8:166. doi: 10.1186/s40168-020-00934-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 3. Brotman RM, He X, Gajer P, Fadrosh D, Sharma E, Mongodin EF, Ravel J, Glover ED, Rath JM. 2014. Association between cigarette smoking and the vaginal microbiota: a pilot study. BMC Infect Dis 14:471. doi: 10.1186/1471-2334-14-471 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4. Brotman RM, Shardell MD, Gajer P, Fadrosh D, Chang K, Silver MI, Viscidi RP, Burke AE, Ravel J, Gravitt PE. 2014. Association between the vaginal microbiota, menopause status, and signs of vulvovaginal atrophy. Menopause 21:450–458. doi: 10.1097/GME.0b013e3182a4690b [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5. Dareng EO, Ma B, Famooto AO, Adebamowo SN, Offiong RA, Olaniyan O, Dakum PS, Wheeler CM, Fadrosh D, Yang H, Gajer P, Brotman RM, Ravel J, Adebamowo CA. 2016. Prevalent high-risk HPV infection and vaginal microbiota in Nigerian women. Epidemiol Infect 144:123–137. doi: 10.1017/S0950268815000965 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6. Di Paola M, Sani C, Clemente AM, Iossa A, Perissi E, Castronovo G, Tanturli M, Rivero D, Cozzolino F, Cavalieri D, Carozzi F, De Filippo C, Torcia MG. 2017. Characterization of cervico-vaginal microbiota in women developing persistent high-risk human papillomavirus infection. Sci Rep 7:10200. doi: 10.1038/s41598-017-09842-6 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 7. Tamarelle J, de Barbeyrac B, Le Hen I, Thiébaut A, Bébéar C, Ravel J, Delarocque-Astagneau E. 2018. Vaginal microbiota composition and association with prevalent Chlamydia trachomatis infection: a cross-sectional study of young women attending a STI clinic in France. Sex Transm Infect 94:616–618. doi: 10.1136/sextrans-2017-053346 [DOI] [PubMed] [Google Scholar]
  • 8. Tabatabaei N, Eren AM, Barreiro LB, Yotova V, Dumaine A, Allard C, Fraser WD. 2019. Vaginal microbiome in early pregnancy and subsequent risk of spontaneous preterm birth: a case-control study. BJOG 126:349–358. doi: 10.1111/1471-0528.15299 [DOI] [PubMed] [Google Scholar]
  • 9. Plummer EL, Vodstrcil LA, Fairley CK, Tabrizi SN, Garland SM, Law MG, Hocking JS, Fethers KA, Bulach DM, Murray GL, Bradshaw CS. 2019. Sexual practices have a significant impact on the vaginal microbiota of women who have sex with women. Sci Rep 9:19749. doi: 10.1038/s41598-019-55929-7 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 10. Chang DH, Shin J, Rhee MS, Park KR, Cho BK, Lee SK, Kim BC. 2020. Vaginal microbiota profiles of native Korean women and associations with high-risk pregnancy. J Microbiol Biotechnol 30:248–258. doi: 10.4014/jmb.1908.08016 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11. Gerson KD, Mccarthy C, Ravel J, Elovitz MA, Burris HH. 2021. Effect of a nonoptimal cervicovaginal microbiota and psychosocial stress on recurrent spontaneous preterm birth. Am J Perinatol 38:407–413. doi: 10.1055/s-0040-1717098 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 12. Haahr T, Clausen TD, Thorsen J, Rasmussen MA, Mortensen MS, Lehtimäki J, Shah SA, Hjelmsø MH, Bønnelykke K, Chawes BL, Vestergaard G, Jacobsson B, Larsson P-G, Brix S, Sørensen SJ, Bisgaard H, Stokholm J. 2022. Vaginal dysbiosis in pregnancy associates with risk of emergency caesarean section: a prospective cohort study. Clin Microbiol Infect 28:588–595. doi: 10.1016/j.cmi.2021.08.028 [DOI] [PubMed] [Google Scholar]
  • 13. Mehta SD, Zulaika G, Agingu W, Nyothach E, Bhaumik R, Green SJ, van Eijk AM, Kwaro D, Otieno F, Phillips-Howard P. 2023. Analysis of bacterial vaginosis, the vaginal microbiome, and sexually transmitted infections following the provision of menstrual cups in Kenyan schools: results of a nested study within a cluster randomized controlled trial. PLoS Med 20:e1004258. doi: 10.1371/journal.pmed.1004258 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 14. Magoutas K, Holdcroft A, Walls M, Furfaro L, Ireland D, Payne M. 2025. Investigating the link between intimate health, hygiene and sexual practices and the vaginal microbiome-the intimate study. Reprod Med Biol 24:e12685. doi: 10.1002/rmb2.12685 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15. France MT, Chaudry I, Rutt L, Quain M, Shirtliff B, McComb E, Maros A, Alizadeh M, Hussain FA, Elovitz MA, Relman DA, Rahman A, Brotman RM, Price JT, Kassaro MP, Holm JB, Ma B, Ravel J. 2025. VIRGO2: an enhanced gene catalog of the vaginal microbiome provides insights into its functional and ecology complexity. Nat Commun 17:449. doi: 10.1038/s41467-025-67136-2 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16. Williams A, Maros A, France MT, Ravel J, Holm JB. 2026. Not all vaginal microbiomes are equal: functional context shapes immune landscapes. mBio 17:e03645-25. doi: 10.1128/mbio.03645-25 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 17. Ward JH Jr. 1963. Hierarchical grouping to optimize an objective function. J Am Stat Assoc 58:236–244. doi: 10.1080/01621459.1963.10500845 [DOI] [Google Scholar]
  • 18. Oksanen J. 2024. Vegan: Community Ecology Package. doi: 10.32614/CRAN.package.vegan [DOI]
  • 19. R Core Team . 2024. R: A language and environment for statistical computing.
  • 20. Langfelder P, Zhang B, Horvath S. 2008. Defining clusters from a hierarchical cluster tree: the Dynamic Tree Cut package for R. Bioinformatics 24:719–720. doi: 10.1093/bioinformatics/btm563 [DOI] [PubMed] [Google Scholar]
  • 21. Ishwaran H, Kogalur UB. 2019. Fast unified random forests for survival, regression, and classification (RF-SRC). doi: 10.32614/CRAN.package.randomForestSRC [DOI]
  • 22. Ishwaran H, Kogalur UB, Blackstone EH, Lauer MS. 2008. Random survival forests. Ann Appl Stat 2. doi: 10.1214/08-AOAS169 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

VISTA v2.0 is available at https://github.com/JHolm-Lab/VISTA (DOI: 10.5281/zenodo.21937773) under the GNU General Public License version 3 (GPL-3.0). The software is implemented in R and has been tested on Linux- and macOS-based systems.


Articles from Microbiology Resource Announcements are provided here courtesy of American Society for Microbiology (ASM)

RESOURCES