public static ArrayList<ProteinFilter> getDefaultProteinFilters() {
ArrayList<ProteinFilter> filters = new ArrayList<ProteinFilter>();
// @TODO: make the thresholds editable by the user!
ProteinFilter proteinFilter = new ProteinFilter(">=2 confident peptides"); // the name is used to show what we expect
proteinFilter.setDescription("<2 confident peptides"); // the description is displayed as failure explanation
proteinFilter.setnConfidentPeptides(1);
proteinFilter.setnConfidentPeptidesComparison(RowFilter.ComparisonType.AFTER);
filters.add(proteinFilter);
proteinFilter = new ProteinFilter(">=2 confident spectra");
proteinFilter.setDescription("<2 confident spectra");
proteinFilter.setProteinNConfidentSpectra(1);
proteinFilter.setnConfidentSpectraComparison(RowFilter.ComparisonType.AFTER);
filters.add(proteinFilter);
return filters;
}