//DEFAULT LINK IS FIRST IN THE LINK LIST\r
int seq = av.getIndex(y);\r
String id = av.getAlignment().getSequenceAt(seq).getName();\r
+ if (id.indexOf("|") > -1)\r
+ id = id.substring(id.lastIndexOf("|") + 1);\r
+\r
\r
String url = links.elementAt(0).toString();\r
url = url.substring(url.indexOf("|")+1);\r
id = id.substring(id.lastIndexOf("|")+1);\r
\r
final String url = link.substring(link.indexOf("|")+1, link.indexOf("$SEQUENCE_ID$"))\r
- + sequence.getName() +\r
+ + id +\r
link.substring(link.indexOf("$SEQUENCE_ID$") + 13);\r
\r
\r