if (waitingHandler.isRunCanceled()) {
return;
}
waitingHandler.appendReport("Simplifying protein groups.", true, true);
ProteinInference proteinInference = new ProteinInference();
proteinInference.removeRedundantGroups(identification, searchParameters, sequenceMatchingPreferences, waitingHandler);
waitingHandler.increasePrimaryProgressCounter();
if (waitingHandler.isRunCanceled()) {
return;
}
waitingHandler.appendReport("Generating peptide map.", true, true); // slow?
matchesValidator.fillPeptideMaps(identification, metrics, waitingHandler, sequenceMatchingPreferences);
matchesValidator.getPeptideMap().clean();
if (waitingHandler.isRunCanceled()) {
return;
}
waitingHandler.appendReport("Computing peptide probabilities.", true, true); // should be fast
matchesValidator.getPeptideMap().estimateProbabilities(waitingHandler);
if (waitingHandler.isRunCanceled()) {
return;
}
waitingHandler.appendReport("Saving peptide probabilities.", true, true); // could be slow
matchesValidator.attachPeptideProbabilities(identification, waitingHandler);
waitingHandler.increasePrimaryProgressCounter();
if (waitingHandler.isRunCanceled()) {
return;
}
waitingHandler.appendReport("Generating protein map.", true, true); // could be slow
matchesValidator.fillProteinMap(identification, waitingHandler);
waitingHandler.increasePrimaryProgressCounter();
if (waitingHandler.isRunCanceled()) {
return;
}
waitingHandler.appendReport("Resolving protein inference issues, inferring peptide and protein PI status.", true, true); // could be slow
proteinInference.retainBestScoringGroups(identification, metrics, matchesValidator.getProteinMap(), searchParameters, sequenceMatchingPreferences, waitingHandler);
waitingHandler.increasePrimaryProgressCounter();
if (waitingHandler.isRunCanceled()) {
return;
}