}
}
public synchronized PackedAlignments getGroups(RenderContext context, AlignmentTrack.RenderOptions renderOptions) {
load(context.getReferenceFrame(), renderOptions, false);
Range range = context.getReferenceFrame().getCurrentRange();
<BUG>AlignmentInterval interval = getLoadedInterval(range);
if (interval != null) {</BUG>
return interval.getPackedAlignments();
} else {
return null;

}
loadAlignments(chr, adjustedStart, adjustedEnd, renderOptions, referenceFrame);
}
}
public synchronized PackedAlignments getGroups(RenderContext context, AlignmentTrack.RenderOptions renderOptions) {
load(context.getReferenceFrame(), renderOptions, false);
Range range = context.getReferenceFrame().getCurrentRange();
AlignmentInterval interval = intervalCache.get(context.getReferenceFrame());
if (interval != null) {
return interval.getPackedAlignments();
} else {
return null;
