AI system predicts protein fragments that can bind to or inhibit a target