objectsCache = new ObjectsCache();
objectsCache.setAutomatedMemoryManagement(true);
ProteomicAnalysis analysis = experiment.getAnalysisSet(sample).getProteomicAnalysis(replicateNumber);
analysis.addIdentificationResults(IdentificationMethod.MS2_IDENTIFICATION, new Ms2Identification(getIdentificationReference()));
Identification identification = analysis.getIdentification(IdentificationMethod.MS2_IDENTIFICATION);
identification.setIsDB(true);
fileImporter = new FileImporter(this, waitingHandler, analysis, idFilter, metrics);
fileImporter.importFiles(idFiles, spectrumFiles, searchParameters, annotationPreferences, processingPreferences,