peptide script filtering before summation