reconstruct source code for peptide counter