Origins of bacterial diversity through horizontal genetic transfer and adaptation to new ecological niches | Synapse