maxIdLength redundant, deleteCols, trimLeft, removeGaps moved to Commands
[jalview.git] / src / jalview / datamodel / AlignmentI.java
index 71ba3e0..94dbf1b 100755 (executable)
@@ -41,12 +41,6 @@ public interface AlignmentI
      */
     public int getWidth();
 
-    /**
-     * Calculates the longest sequence Id of the alignment
-     *
-     * @return Number of characters in longest sequence Id.
-     */
-    public int getMaxIdLength();
 
     /**
      * Calculates if this set of sequences is all the same length
@@ -94,7 +88,7 @@ public interface AlignmentI
     public void setSequenceAt(int i, SequenceI seq);
 
     /**
-     * Deletes a sequence from the alignment.
+     * Deletes a sequence from the alignment
      *
      * @param s Sequence to be deleted.
      */
@@ -109,15 +103,6 @@ public interface AlignmentI
 
 
     /**
-     * Deletes all residues in every sequence of alignment within given columns.
-     *
-     * @param start Start index of columns to delete.
-     * @param end End index to columns to delete.
-     */
-    public void deleteColumns(SequenceI seqs [], int start, int end);
-
-
-    /**
      * Finds sequence in alignment using sequence name as query.
      *
      * @param name Id of sequence to search for.
@@ -137,29 +122,6 @@ public interface AlignmentI
      */
     public int findIndex(SequenceI s);
 
-    /**
-    * All sequences will be cut from beginning to given index.
-    *
-    * @param i Remove all residues in sequences up to this column.
-     */
-    public void trimLeft(int i);
-
-    /**
-     * All sequences will be cut from given index.
-     *
-     * @param i Remove all residues in sequences beyond this column.
-     */
-    public void trimRight(int i);
-
-    /**
-     * Removes all columns containing entirely gap characters.
-     */
-    public void removeGaps();
-    /**
-     * remove gaps in alignment - recording any frame shifts in shiftrecord
-     * @param shiftrecord
-     */
-    public void removeGaps(ShiftList shiftrecord);
 
     /**
      * Finds group that given sequence is part of.