* @throws ClassNotFoundException thrown if ClassNotFoundException occurs
* @throws InterruptedException thrown if InterruptedException occurs
*/
public static void exportMzId(MzidCLIInputBean mzidCLIInputBean, CpsParent cpsParent, WaitingHandler waitingHandler) throws IOException, ClassNotFoundException, MzMLUnmarshallerException, InterruptedException, SQLException {
ProjectDetails projectDetails = cpsParent.getProjectDetails();
projectDetails.setContactFirstName(mzidCLIInputBean.getContactFirstName());
projectDetails.setContactLastName(mzidCLIInputBean.getContactLastName());
projectDetails.setContactEmail(mzidCLIInputBean.getContactEmail());
projectDetails.setContactAddress(mzidCLIInputBean.getContactAddress());
projectDetails.setContactUrl(mzidCLIInputBean.getContactUrl());
projectDetails.setOrganizationName(mzidCLIInputBean.getOrganizationName());
projectDetails.setOrganizationEmail(mzidCLIInputBean.getOrganizationMail());
projectDetails.setOrganizationAddress(mzidCLIInputBean.getOrganizationAddress());
projectDetails.setOrganizationUrl(mzidCLIInputBean.getOrganizationUrl());
projectDetails.setPrideOutputFolder(mzidCLIInputBean.getOutputFile().getAbsolutePath());
MzIdentMLExport mzIdentMLExport = new MzIdentMLExport(PeptideShaker.getVersion(), cpsParent.getIdentification(), cpsParent.getProjectDetails(),
cpsParent.getProcessingPreferences(), cpsParent.getSearchParameters(), cpsParent.getPtmScoringPreferences(),
cpsParent.getSpectrumCountingPreferences(), cpsParent.getIdentificationFeaturesGenerator(),
cpsParent.getAnnotationPreferences(), cpsParent.getSequenceMatchingPreferences(), mzidCLIInputBean.getOutputFile(), waitingHandler);