Self-assembly of protein from a flexuous virus