private boolean loading = false;
public MethylTrack(ResourceLocator dataResourceLocator, BBFileReader reader, Genome genome) throws IOException {
super(dataResourceLocator);
setHeight(60);
renderer = new PointsRenderer();
boolean isWGBS;
if (reader.getAutoSql() != null && reader.getAutoSql().startsWith("table BisulfiteSeq")) {
resolutionThreshold = FIVE_MB;
dataSource = new CachingMethylSource(new BBMethylDataSource(reader, BBMethylDataSource.Type.USC, genome), resolutionThreshold);