}
final double coveragePercent = (coverageNumber / pd.getSequence().length()) * 100;
if (aggregatedProtein != null) {
pdToStatisticsMap.put(aggregatedProtein.getId(), new ProteinStatisticsPerFileItem(aggregatedProtein, rawFile, coveragePercent));
}
perFileSet.add(new ProteinStatsPerFile(rawFile.getId(), coveragePercent,
intensitySum == 0 ? 0 : intensitySum,
qValueSum == 0 ? 0 : qValueSum / searchResults.size()));
}
return perFileSet;