public void addDataChunk(String chr, IntArrayList starts, IntArrayList ends, FloatArrayList data) {
IntArrayList startLocations = this.startLocationsMap.get(chr);
if (startLocations == null) {
this.startLocationsMap.put(chr, starts);
} else {
startLocations.addAll(starts);
}
if (ends != null) {
IntArrayList endLocations = this.endLocationsMap.get(chr);
if (endLocations == null) {