Researchers used gene sequencing to analyse the bacteria present in the mouth after each part of the trial.