The T7 ejection nanomachine components gp15-gp16 form a spiral ring complex that binds DNA and a lipid membrane.