throw new RuntimeException("Cannot load Goby alignment " + locator.getPath(), e);
}
} else if (Ga4ghAlignmentReader.supportsFileType(locator.getType())) {
Ga4ghProvider provider = (Ga4ghProvider) locator.getAttribute("provider");
return new Ga4ghAlignmentReader(provider, locator.getPath());
}
else {
throw new RuntimeException("Cannot find reader for aligment file: " + locator.getPath());
}