for (SequestSearchStatistic.ProteinStatisticsPerFileItem item : pdStatsEntry.getValue()) {
final long fileId = item.file.getId();
final long condition = rawFileToConditionMap.containsKey(fileId) ? rawFileToConditionMap.get(fileId) : Condition.UNDEFINED_CONDITION_ID;
items.add(new DataCubeItem.FileDataCubeItem<Float>(fileId, condition, (float) item.coverage));
}
coverageItems.add(new SequestSearchCoverageDataCubeItem(aggregatedProteinId, items));
}
return getS3ReferenceWithDataCubeItems("Coverages", coverageItems);
}