The N-terminal helix controls the transition between the soluble and amyloid states of an FF domain