public int findIndex(int pos);
/**
- * DOCUMENT ME!
+ * Returns the sequence position for an alignment position
*
- * @param i DOCUMENT ME!
+ * @param i column index in alignment (from 1)
*
- * @return DOCUMENT ME!
+ * @return residue number for residue (left of and) nearest ith column
*/
public int findPosition(int i);
/**
- * DOCUMENT ME!
+ * Returns an int array where indices correspond to each residue in the sequence and the element value gives its position in the alignment
*
- * @return DOCUMENT ME!
+ * @return int[SequenceI.getEnd()-SequenceI.getStart()+1] or null if no residues in SequenceI object
*/
public int[] gapMap();
*/
public void insertCharAt(int i, char c);
+ /**
+ * DOCUMENT ME!
+ *
+ * @param i DOCUMENT ME!
+ * @param c DOCUMENT ME!
+ */
+ public void insertCharAt(int i, int length, char c);
+
+
/**
* DOCUMENT ME!
public void addSequenceFeature(SequenceFeature sf);
+ public void deleteFeature(SequenceFeature sf);
+
public void setDatasetSequence(SequenceI seq);
public SequenceI getDatasetSequence();
public void showHiddenSequence(SequenceI seq);
- public void changeCase(boolean toUpper, int start, int end);
-
- public void toggleCase(int start, int end);
-
- /**
- * getSubSequence from start to end of sequence
- * @param start first residue in subSequence
- * @return SequenceI
- */
- public SequenceI getSubSequence(int start);
- /**
- * remove all gaps in the sequence
- * @return number of gaps removed
- */
- public int removeGaps();
- /**
- * remove all gaps from start to end columns in sequence
- * @param start
- * @param end
- * @return number of gaps removed
- */
- public int removeGaps(int start, int end);
-
}