We use bioinformatics and machine learning to decompose how amino acid sequences can encode multiple functions in the same protein. These span antimicrobial peptides, cytokines, apoptosis regulators, bacterial secretion systems, and other membrane-remodeling proteins.