Folding and function may impose different requirements on the amino acid sequences of proteins, thus potentially giving rise to conflict. Such a conflict, or frustration, can result in the formation of partially misfolded intermediates that can compromise folding and promote aggregation.