\r
Annotation an = new Annotation();\r
an.setDescription(aa[i].description);\r
+\r
+ if(aa[i].sequenceRef!=null)\r
+ {\r
+ an.setSequenceRef(aa[i].sequenceRef.getName());\r
+ }\r
+\r
if(aa[i].graph>0)\r
{\r
an.setGraph(true);\r
\r
if(af!=null)\r
{\r
- System.out.println("Successfuly loaded archive file");\r
+ System.out.println("Successfully loaded archive file");\r
return af;\r
}\r
ex.printStackTrace();\r
an[i].getDescription(), anot);\r
}\r
\r
+ if(an[i].getSequenceRef()!=null)\r
+ {\r
+ jaa.createSequenceMapping(\r
+ al.findName(an[i].getSequenceRef()), 1\r
+ );\r
+ al.findName(an[i].getSequenceRef()).addAlignmentAnnotation(jaa);\r
+ }\r
+\r
al.addAnnotation(jaa);\r
}\r
}\r