- public static void sortByFeature(String featureLabel, String groupLabel,
- int start, int stop, AlignmentI alignment, String method)
- {
- sortByFeature(featureLabel == null ? null : new String[]
- { featureLabel }, groupLabel == null ? null : new String[]
- { groupLabel }, start, stop, alignment, method);
- }
-
- private static boolean containsIgnoreCase(final String lab,
- final String[] labs)
- {
- if (labs == null)
- {
- return true;
- }
- if (lab == null)
- {
- return false;
- }
- for (int q = 0; q < labs.length; q++)
- {
- if (labs[q] != null && lab.equalsIgnoreCase(labs[q]))
- {
- return true;
- }
- }
- return false;
- }
-
- public static void sortByFeature(String[] featureLabels,
- String[] groupLabels, int start, int stop, AlignmentI alignment,
- String method)
+ public static void sortByFeature(List<String> featureTypes,
+ List<String> groups, final int startCol, final int endCol,
+ AlignmentI alignment, String method)