Kinga Zielinska
We set out to build a machine-learning classifier that predicts a clinically meaningful vaginal-microbiome state from a baseline metagenomic profile, using only public data.
Core trick
A leave-one-subject-out classifier on per-sample species profiles is compared against prevalence, persistence, and current-state baselines.
Description
We set out to build a machine-learning classifier that predicts a clinically meaningful vaginal-microbiome state from a baseline metagenomic profile, using only public data. Because intervention-response labels proved unrecoverable from public deposits — probiotic/live-biotherapeutic response had zero read-joinable labels, and preterm-birth cohorts are dominated by V3–V4 16S that resolves L. iners from L. crispatus poorly — we selected the one abundant, per-sample, self-supervised target the data could support: next-day community-state-type (CST) transition. The cohort was PRJEB37731 (Danish daily shotgun metagenomics, 40 subjects, ~967 consecutive day-pairs), reached through a documented funnel of 90 public datasets → 30 mined publications → 4 candidate targets → 8 feasibility-vetted cohorts → 1.
The classifier was engineered for rigor: 184 CLR-transformed species plus covariates, leave-one-subject-out cross-validation, honest baselines (prevalence, persistence, current-state), subject-clustered GEE for effect estimates, and a synthetic-data power analysis. The primary result was an honest negative — the full microbiome composition adds essentially nothing beyond the current-state label (transition AUROC 0.66, matched by a covariate baseline), and next-day onset of dysbiosis is unpredictable (AUROC 0.51–0.55; up to 5 days of memory does not help).
We then tested the textbook claim that L. iners is a "gateway to dysbiosis." iners strongly predicts community movement (adjusted OR 5.87, 95% CI 3.15–10.94, p=2.5×10⁻⁸), but that movement is predominantly recovery toward L. crispatus (0.57) rather than descent to dysbiosis (0.24). L. iners marks mobility, not decline — a novel refinement of the field's model.
Why it matters: BV recurs in >50% of women within 6–12 months, making treatment response fundamentally a prediction problem. This is a first-of-its-kind, fully leakage-safe attempt to predict near-term vaginal-microbiome dynamics from public data — it honestly maps what is and isn't predictable at current data scale, and delivers a reproducible pipeline ready for a future cohort with linked intervention outcomes.
Kizielins/Anthropic_hackathon_Claude_Science★ 00 forksPythonMITCreated Jul 10, 2026 · last push Jul 12, 2026
README excerpt
<div align="center"> # 🧬 Vaginal Microbiome Instability — a Claude Science discovery ### Predicting near-term vaginal-microbiome dynamics from a baseline metagenomic profile **A rigorous classifier · an honest negative · and the novel finding it uncovered** [](https://claude.ai) [](https://www.ebi.ac.uk/ena/browser/view/PRJEB37731) [](#-reproduce)  *Lactobacillus iners* — the textbook "gateway to dysbiosis" — is really a marker of **mobility, not decline.** </div> --- ## 📖 The report — start here > ### 👉 **The full scientific write-up is [`docs/README_submission.md`](docs/README_submission.md)** > > It contains **everything we tried**, with a clear narrative: the classifier and why it's solid → the honest negative result → the hypothesis pivot → the novel *L. iners* finding → background, limitations, and what a next cohort would unlock. A consolidated Word version is at [`docs/manuscript_iners_instability.docx`](docs/manuscript_iners_instability.docx). > > **Presentation & video:** [`docs/presentation_3min.pptx`](docs/presentation_3min.pptx) · [`docs/presentation_text_3min.md`](docs/presentation_te