This is the shape (spatial organization) of an entire protein molecule. Protein folding is largely self-organising. It is mainly done by the protein's primary structure its sequence of amino acids. This is called Anfinsen's dogma. However, the environment in which a protein is synthesized and folds also effect its final shape.