if (confidenceScore != null) {
peptideFilter = new ConfidenceScoreFilter(confidenceScore);
}
for (PeptideSearchResult result : peptideSearchResults) {
if (peptideFilter != null && !peptideFilter.accepts(result)) {
continue;
}
PeptideSequence peptide = sequenceGenerator.getPeptideSequence(result);
if (peptide == null) {