}
// Clear cache for sequencing files. TODO: make something more generic?
if (idFile.getName().endsWith("tags")) {
if (tagMapper == null) {
tagMapper = new TagMapper(proteinTree, searchParameters, sequenceMatchingPreferences, annotationPreferences, exceptionHandler);
}
if (!peptideShaker.getCache().isEmpty()) {
peptideShaker.getCache().reduceMemoryConsumption(0.9, waitingHandler);
}
}