Sequence-based prediction of protein-protein interactions using weighted sparse representation model combined with global encoding