Spore formation model could help advance medicine