BamQCRegionReporter outsideReporter = new BamQCRegionReporter(selectedRegionsAvailable, false);
outsideReporter.setPaintChromosomeLimits(paintChromosomeLimits);
if (!genomeToCompare.isEmpty()) {
outsideReporter.setGenomeGCContentName(genomeToCompare);
}
bamQC.prepareInputDescription(outsideReporter, paintChromosomeLimits);
outsideReporter.writeReport(bamQC.getOutsideBamStats(),outdir);
outsideReporter.loadReportData(bamQC.getOutsideBamStats());
outsideReporter.computeChartsBuffers(bamQC.getOutsideBamStats(), bamQC.getLocator(), bamQC.isPairedData());