diff --git a/src/edu/umich/andykong/ptmshepherd/iterativelocalization/IterativeLocalizer.java b/src/edu/umich/andykong/ptmshepherd/iterativelocalization/IterativeLocalizer.java index 78b5881..e7d9e5a 100644 --- a/src/edu/umich/andykong/ptmshepherd/iterativelocalization/IterativeLocalizer.java +++ b/src/edu/umich/andykong/ptmshepherd/iterativelocalization/IterativeLocalizer.java @@ -177,7 +177,7 @@ private void fitMatchedIonDistribution() throws Exception { // decoyPep, this.ionTypes, mutationSite, 1); // Generate target and decoy fragments ArrayList sitePepFrags = targetPep.calculatePeptideFragments(this.ionTypes, 1); - ArrayList decoySitePepFrags = targetPep.calculateComplementaryFragments(this.ionTypes, mutatedMassShift, mutationSite, 1); + ArrayList decoySitePepFrags = decoyPep.calculateComplementaryFragments(this.ionTypes, mutatedMassShift, mutationSite, 1); // Score over all possible sites /**