From peptide oligomers to single-chain proteins