From aada71a832214785ccca0b4ff3d9c6adf382b548 Mon Sep 17 00:00:00 2001 From: jprocter Date: Mon, 28 Feb 2005 10:47:32 +0000 Subject: [PATCH] added uniquify sequence id assertion. --- src/jalview/ws/Jemboss.java | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws/Jemboss.java b/src/jalview/ws/Jemboss.java index a5205ac..7c107c7 100755 --- a/src/jalview/ws/Jemboss.java +++ b/src/jalview/ws/Jemboss.java @@ -58,6 +58,30 @@ public class Jemboss props.getEmbossEnvironmentArray()); } */ + private Hashtable uniquify(SequenceI[] sequences) { + // Generate a safely named sequence set and a hash to recover the sequence names + Hashtable map = new Hashtable(); + for (int i=0; i