private List<SequestSearchPerFileWrapper> createSequestSearchTasksPerFile(ExperimentSearch experimentSearch) {
final SearchParams searchParams = SEARCH_PARAMS_TRANSFORMER.apply(experimentSearch.getData().getParams());
return transform(newLinkedList(experimentSearch.getRuns()), new Function<SearchRun, SequestSearchPerFileWrapper>() {
@Override
public SequestSearchPerFileWrapper apply(SearchRun run) {
return new SequestSearchPerFileWrapper(run.getId(), Long.valueOf(run.getFile().getProcessedDataID()), searchParams, targetBucket);
}
});
}