In a cloister garden, Mendel counted peas, and from those quiet numbers emerged the laws of inheritance that underlie modern genetics.