LocationGenerator locationGenerator;
if (glimmerFilePath != null) {
locationGenerator = new GlimmerFileLocationGenerator(
glimmerFilePath);
} else {
locationGenerator = new CodonsPerIntervalLocationGenerator(
interval, fastaParser);
}
return locationGenerator;
}