Skip to content

Commit

Permalink
Added N-term Acetylation for spectrum prediction.
Browse files Browse the repository at this point in the history
  • Loading branch information
wenbostar committed Mar 30, 2024
1 parent 0a378cc commit 5ddf3c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/PDVGUI/gui/utils/ImportPredictedDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@ private String getModificationString(String originalMod) {
if (Math.abs(ptmFactory.getPTM(originalMod).getMass() -79.966331) < 0.01) {
modificationString = "[UNIMOD:21]";
}
} if (originalMod.contains("of N-term")) {
if (Math.abs(ptmFactory.getPTM(originalMod).getMass() - 42.010565) < 0.01) {
modificationString = "[UNIMOD:1]";
}
}

}
Expand Down

0 comments on commit 5ddf3c2

Please sign in to comment.