}
} else if (typeString.endsWith(".bam.list") || pathLowerCase.endsWith(".sam.list")) {
reader = getBamListReader(locator.getPath(), requireIndex);
} else if (GobyAlignmentQueryReader.supportsFileType(locator.getPath())) {
try {
reader = new GobyAlignmentQueryReader(locator.getPath());
} catch (IOException e) {
throw new RuntimeException("Cannot load Goby alignment " + locator.getPath(), e);
}
} else if (Ga4ghAlignmentReader.supportsFileType(locator.getType())) {