TDFReader reader = TDFReader.getReader(file.getAbsolutePath());
TDFDataSource ds = new TDFDataSource(reader, 0, getName() + " coverage", genome);
setDataSource(ds);
IGV.getInstance().repaintDataPanels();
} else if (path.endsWith(".counts")) {
CoverageDataSource ds = new GobyCountArchiveDataSource(file);
setDataSource(ds);
IGV.getInstance().repaintDataPanels();
} else {
MessageUtils.showMessage("Coverage data must be in .tdf format");
}