Skip to content

Commit 1771d0d

Browse files
Fix decoy generation in iterative localizer
1 parent 069b040 commit 1771d0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/edu/umich/andykong/ptmshepherd/iterativelocalization/IterativeLocalizer.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private void fitMatchedIonDistribution() throws Exception {
177177
// decoyPep, this.ionTypes, mutationSite, 1);
178178
// Generate target and decoy fragments
179179
ArrayList<Float> sitePepFrags = targetPep.calculatePeptideFragments(this.ionTypes, 1);
180-
ArrayList<Float> decoySitePepFrags = targetPep.calculateComplementaryFragments(this.ionTypes, mutatedMassShift, mutationSite, 1);
180+
ArrayList<Float> decoySitePepFrags = decoyPep.calculateComplementaryFragments(this.ionTypes, mutatedMassShift, mutationSite, 1);
181181

182182
// Score over all possible sites
183183
/**

0 commit comments

Comments
 (0)