X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FAlignmentI.java;h=baaebc2a1079e85abb541e7d14cee9b8d93df723;hb=5dd663636925f44c6f964fa32fed2f584223b295;hp=4e5987dbb65d575f84bfbd65653f4953a7d18f64;hpb=608832fec5a504b4c56e5837b2b3dfc1993fe734;p=jalview.git diff --git a/src/jalview/datamodel/AlignmentI.java b/src/jalview/datamodel/AlignmentI.java index 4e5987d..baaebc2 100755 --- a/src/jalview/datamodel/AlignmentI.java +++ b/src/jalview/datamodel/AlignmentI.java @@ -1,6 +1,6 @@ /* * Jalview - A Sequence Alignment Editor and Viewer -* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle +* Copyright (C) 2006 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -18,8 +18,6 @@ */ package jalview.datamodel; -import jalview.util.ShiftList; - import java.util.*; @@ -41,12 +39,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 +86,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. */ @@ -107,14 +99,6 @@ public interface AlignmentI */ public void deleteSequence(int i); - /** - * 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. @@ -136,31 +120,8 @@ 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. * * @param s Sequence in alignment. @@ -242,12 +203,6 @@ public interface AlignmentI */ public char getGapCharacter(); - /** - * DOCUMENT ME! - * - * @return DOCUMENT ME! - */ - public Vector getAAFrequency(); /** * Returns true if alignment is nucleotide sequence @@ -273,7 +228,6 @@ public interface AlignmentI */ public boolean padGaps(); - public void adjustSequenceAnnotations(); public HiddenSequences getHiddenSequences(); /**