An essential malaria protein defines the architecture of blood-stage and transmission-stage parasites