* @return SequencerInterrogator
* @throws InterrogationException when an unsupported PlatformType is specified
*/
public static SequencerInterrogator getSequencerInterrogator(SequencerReference sr) throws InterrogationException {
if (sr.getPlatform().getPlatformType().equals(PlatformType.ILLUMINA)) {
return new SequencerInterrogator(new IlluminaSequencerInterrogationStrategy(), sr);
}
else if (sr.getPlatform().getPlatformType().equals(PlatformType.LS454)) {
return new SequencerInterrogator(new LS454SequencerInterrogationStrategy(), sr);
}
else if (sr.getPlatform().getPlatformType().equals(PlatformType.SOLID)) {