settingsDlg.setUiEnabled(false);
settingsDlg.getProgressBar().setValue(0);
String homePath = settingsDlg.getHomeFrame().getQualimapFolder() + File.separator;
MultisampleBamQcAnalysis multiBamQcAnalysis = new MultisampleBamQcAnalysis(tabProperties, homePath,
settingsDlg.getDataItems());
AnalysisDialogLoggerThread outputParsingThread= new AnalysisDialogLoggerThread( settingsDlg ) ;
multiBamQcAnalysis.setOutputParsingThread(outputParsingThread);
if (settingsDlg.runBamQcFirst()) {
multiBamQcAnalysis.setRunBamQcFirst( settingsDlg.getBamQcConfig() );
}
try {
multiBamQcAnalysis.run();
} catch (Exception e) {
JOptionPane.showMessageDialog(settingsDlg, "Failed to run multi-sample BAM QC!\n" + e.getMessage(),
settingsDlg.getTitle(), JOptionPane.ERROR_MESSAGE);
settingsDlg.setUiEnabled(true);
//settingsDlg.resetUi();