Identifying mechanism-of-action targets for drugs and probes