+\r
+ // Now update groups\r
+ while (st.hasMoreTokens())\r
+ {\r
+ group = st.nextToken();\r
+ for (int i = 0; i < al.getAlignmentAnnotation().length; i++)\r
+ {\r
+ if (al.getAlignmentAnnotation()[i].label.equalsIgnoreCase(group))\r
+ {\r
+ al.getAlignmentAnnotation()[i].graphGroup = graphGroup;\r
+ break;\r
+ }\r
+ }\r
+ }\r
+ }\r
+ else\r
+ {\r
+ System.err\r
+ .println("Couldn't combine annotations. None are added to alignment yet!");\r