+ }\r
+\r
+ public void deleteAnnotation(AlignmentAnnotation aa)\r
+ {\r
+ int aSize = 1;\r
+ if(annotations!=null)\r
+ aSize = annotations.length;\r
+\r
+ AlignmentAnnotation [] temp = new AlignmentAnnotation [aSize-1];\r
+\r
+ int tIndex = 0;\r
+ for (int i = 0; i < aSize; i++)\r
+ {\r
+ if(annotations[i]==aa)\r
+ continue;\r
+\r
+\r
+ temp[tIndex] = annotations[i];\r
+ tIndex++;\r
+ }\r