Cancer patients with high levels of good gut bacteria appear more likely to respond to immunotherapy, potentially opening up a new way to optimize the use of modern medicines that are highly effective but only work in some people.

The finding, reported in two scientific papers on Thursday, suggests patients may in future be told to actively nurture their good bugs when taking so-called PD-1 drugs like Merck & Co's Keytruda or Bristol-Myers Squibb's Opdivo.

The twin publications in the journal Science are the latest examples of the importance of the microbiome — the vast community of microbes living inside us — which has been linked to everything from digestive disorders to depression.