*/
public void updateMainMatch(String mainMatch, int proteinInferenceType) {
try {
PSMaps psMaps = new PSMaps();
psMaps = (PSMaps) getIdentification().getUrParam(psMaps);
PsmPTMMap psmPTMMap = psMaps.getPsmPTMMap();
PtmScorer ptmScorer = new PtmScorer(psmPTMMap);
Identification identification = getIdentification();
ProteinMatch proteinMatch = identification.getProteinMatch(selectedProteinKey);
ptmScorer.scorePTMs(identification, proteinMatch, getSearchParameters(), getAnnotationPreferences(), false, getPtmScoringPreferences(), getSequenceMatchingPreferences());
} catch (Exception e) {