+ private SequenceI pickbestMatch(SeqIdName candName,
+ List<SequenceI> matches)
+ {
+ List<SequenceI> st = pickbestMatches(candName, matches);
+ return st == null || st.size() == 0 ? null : st.get(0);
+ }
+
+ /**
+ * returns the closest SequenceI in matches to SeqIdName and returns all the
+ * matches to the names hash.
+ *
+ * @param candName
+ * SeqIdName
+ * @param matches
+ * Vector of SequenceI objects
+ * @return Object[] { SequenceI closest SequenceI to SeqIdName, SequenceI[]
+ * ties }
+ */
+ private List<SequenceI> pickbestMatches(SeqIdName candName,
+ List<SequenceI> matches)