private ExperimentSearchParamsItem getExperimentSearchItemsParams(ExperimentSearch run) {
final ExperimentSearchParamsData p = run.getData().getParams();
final ExperimentSearchParamsData.CometParamsData cP = p.getCometParams();
final ExperimentSearchParamsData.Ms2ProcessorParamsData mP = p.getMs2ProcessorParams();
return new ExperimentSearchParamsItem(new RunItemMs2Params(mP.getMaxCharge(), mP.getIsolationWidth()),
new RunItemCometParams(cP.getSequestSearchDB().getId(), cP.getMaxPrecursorCharge(), cP.getPeptideMassTolerance(), cP.getPeptideMassUnits(), cP.getMassTypeParent(),
cP.getMassTypeFragment(), cP.getPrecursorToleranceType(), cP.getSearchEnzymeNumber(), cP.getNumEnzymeTermini(), newLinkedList(cP.getModificationParams())));
}