Software originally used to diagnose genetic disorders can detect sewage spills, experts say.