Peptide quality control