JAL-1483 sort by feature score/density made first class alignment view controller...
[jalview.git] / src / jalview / api / AlignViewControllerI.java
index fadc09e..090a8b5 100644 (file)
@@ -61,4 +61,16 @@ public interface AlignViewControllerI<ViewportI>
   boolean markColumnsContainingFeatures(boolean invert,
           boolean extendCurrent, boolean clearColumns, String featureType);
 
+  /**
+   * sort the alignment or current selection by average score over the given set of features
+   * @param typ list of feature names or null to use currently displayed features
+   */
+  void sortAlignmentByFeatureScore(String[] typ);
+
+  /**
+   * sort the alignment or current selection by distribution of the given set of features
+   * @param typ list of feature names or null to use currently displayed features
+   */
+  void sortAlignmentByFeatureDensity(String[] typ);
+
 }