public static SearchEngineType getByName(String name) {
        if (name != null) {
            name = name.toUpperCase();
            if ("MASCOT".equals(name) || "MATRIX SCIENCE MASCOT".equals(name)) return MASCOT;
            if ("XTANDEM".equals(name)) return XTANDEM;
            if ("SEQUEST".equals(name)) return SEQUEST;
            if ("SPECTRUM_MILL".equals(name)) return SPECTRUM_MILL;
            if ("GENERIC SEARCH ENGINE".equalsIgnoreCase(name)) return GENERIC_SEARCH_ENGINE;
            if ("OMSSA".equals(name)) return OMSSA;
        }
        return null;
    }