ATP-Driven Self-Assembly of a Morphogenetic Protein in Bacillus subtilis