Molecular biomarkers can be used for several purposes in infectious disease research and clinical practice. These include detecting pathogens, measuring antibody responses, identifying markers of virulence, resistance, and disease severity, and understanding human immune responses and genetic susceptibility. Challenges include lack of sensitivity, mobile genetic elements, and changes in RNA sequences. Whole genome sequencing allows investigation of microbial phylogeny, evolution, and virulence factors.