reporter.computeChartsBuffers(bamQC.getBamStats(), bamQC.getLocator(), bamQC.isPairedData());
AnalysisResultManager resultManager = new AnalysisResultManager(AnalysisType.BAM_QC);
resultManager.addReporter(reporter);
Thread exportReportThread = new ExportHtmlThread(resultManager,sampleOutdir);
exportReportThread.run();
loggerThread.updateProgress(100);
loggerThread.logLine("Finished processing " + bamFilePath + "\n");
loggerThread.logLine("BAM QC results are saved to " + sampleOutdir + "\n");
s.path = sampleOutdir;