Biomedical engineers and genome researchers have developed a proof-of-principle approach using light to detect infections before patients show symptoms.