This study could lead to better diagnostic tests for urinary tract infections.