* @param s
* Sequence to look for.
*
- * @return Index of sequence within the alignment.
+ * @return Index of sequence within the alignment or -1 if not found
*/
public int findIndex(SequenceI s);
*/
public SequenceI findName(SequenceI startAfter, String token, boolean b);
+ /**
+ * find first sequence in alignment which is involved in the given search result object
+ * @param results
+ * @return -1 or index of sequence in alignment
+ */
+ public int findIndex(SearchResults results);
+
}