Two patients being treated for pneumonia, an infection that causes difficulty breathing due to fluid-filled sacs in the lungs, can look vastly different and have opposing outcomes. Yet doctors struggle to accurately predict patients’ prognoses and determine the most effective treatments.