Scientists have engineered bacteria to produce a silk-based protein using a surprising ingredient: a protein fragment from mussels.