* @return
*/
private AlignmentBlock[] getBlocks(AlignmentTrack alTrack, String chr, int start, int end) {
AlignmentDataManager dataManager = alTrack.getDataManager();
AlignmentInterval interval = dataManager.getLoadedInterval(FrameManager.getDefaultFrame().getCurrentRange());
if (interval == null) {
dataManager.loadAlignments(chr, start, end, null, null);
interval = dataManager.getLoadedInterval(FrameManager.getDefaultFrame().getCurrentRange());
}
return interval.getAlignmentIterator().next().getAlignmentBlocks();
}