In contrast to eukaryotic populations, bacteria frequently gain, loose, and exchange genes. This gives rise to the so-called pan-genome, which is the set of all genes that are present in any fraction of a bacterial population. We aim to understand how the transfer of genetic material and the evolutionary dynamics of gene gain and loss influence the composition of bacterial pan-genomes.