Technique could be used to design therapies for Alzheimer's and other diseases.