Researchers have published new insights on how bacteria cause infections, which may help with future infection treatments.