public void setDefaultPreferences() {
searchParameters = new SearchParameters();
annotationPreferences = new AnnotationPreferences();
annotationPreferences.setAnnotationLevel(0.75);
annotationPreferences.useAutomaticAnnotation(true);
spectrumCountingPreferences = new SpectrumCountingPreferences();
spectrumCountingPreferences.setSelectedMethod(SpectralCountingMethod.NSAF);
spectrumCountingPreferences.setValidatedHits(true);
processingPreferences = new ProcessingPreferences();
ptmScoringPreferences = new PTMScoringPreferences();
genePreferences = new GenePreferences();