University of Edinburgh researchers said the findings could pave the way for a “game-changer” diagnostic test.