X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fapi%2FAlignViewControllerI.java;h=235a656db81b761ee6ee8786dec943553c950581;hb=ad15cff29620f960119f80176f1fd443da9f6763;hp=35f084fd3fd4043933cefc7d45cc8ac463d9efa6;hpb=6b89b11e2e9b551714d3a3ff6dd7d6365556afc7;p=jalview.git diff --git a/src/jalview/api/AlignViewControllerI.java b/src/jalview/api/AlignViewControllerI.java index 35f084f..235a656 100644 --- a/src/jalview/api/AlignViewControllerI.java +++ b/src/jalview/api/AlignViewControllerI.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -64,4 +64,16 @@ public interface AlignViewControllerI 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); + }