/** Test if the file type can be "tiled". */ private static void validateIsTilable(String typeString) { boolean affective = PreferenceManager.getInstance().getAsBoolean(PreferenceManager.AFFECTIVE_ENABLE); if (!(typeString.endsWith("cn") || typeString.endsWith("igv") || typeString.endsWith("wig") || // ifile.toLowerCase().endsWith("cpg.txt") || typeString.endsWith("ewig") || typeString.endsWith("cn") || typeString.endsWith("snp") || typeString.endsWith("xcn") || typeString.endsWith("gct") || typeString.endsWith("tab") || typeString.endsWith("mage-tab") || typeString.endsWith("bedgraph") || Preprocessor.isAlignmentFile(typeString) || affective)) { throw new PreprocessingException( "Tile command not supported for files of type: " + typeString); } }