/*
* 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
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 int removeGaps();
/**
* remove all gaps from start to end columns in sequence
- * @param start
+ * @param start
* @param end
* @return number of gaps removed
*/