Molecular surveillance of multiplicity of infection, haplotype frequencies, and prevalence in infectious diseases (PLoS Computational Biology, 2026)