The present invention provides for a method of characterizing and classifying a sample of peptide or polypeptide mixtures or a biomolecule comprising a polypeptide component by using mass spectrometry and statistic methods for analyzing the mass spectrometry results The present invention also discloses a method of synthesizing glatiramer acetate utilizing tetrabutylammonium hydroxide