Post-translational modification (PTM) of a protein is an important event in regulating cellular functions. An algorithm, MAPRes, has been developed for mining associations among PTM sites and the preferred amino acids in their vicinity. The algorithm has been implemented to O-glycosylation and O-phosphorylation data (phosphorylated/glycosylated Ser/Thr/Tyr). The association patterns mined by MAPRes demonstrate significant correlations and the results are in conformity with the existing methods. These association rules/patterns will be helpful in predicting the sequences/motifs involved for specific PTMs in proteins.