for (SampleInfo bamQcResult : bamQCResults) {
String path = rawDataDirs.get(bamQcResult) + File.separator + "coverage_across_reference.txt";
XYVector rawData = loadColumnData(new File(path), 0, Double.MAX_VALUE, 1);
XYVector scaledData = scaleXAxis(rawData);
for (int i = 0; i < scaledData.getSize(); ++i) {
stats.addValue( scaledData.get(i).getY() );
}
baseChart.addSeries(bamQcResult.name, scaledData, getSampleColor(k) );
++k;
}