this.spectrumCountingPreferences = spectrumCountingPreferences;
this.identificationFeaturesGenerator = identificationFeaturesGenerator;
this.annotationPreferences = annotationPreferences;
this.sequenceMatchingPreferences = sequenceMatchingPreferences;
this.waitingHandler = waitingHandler;
PrideObjectsFactory prideObjectsFactory = PrideObjectsFactory.getInstance(); // @TODO: should be renamed!!!
ptmToPrideMap = prideObjectsFactory.getPtmToPrideMap();
this.peptideSpectrumAnnotator = new PeptideSpectrumAnnotator();
r = new FileWriter(outputFile);
br = new BufferedWriter(r);
}