text.append(comma + row.annotations[j].secondaryStructure);\r
comma = ",";\r
}\r
- if (row.annotations[j].displayCharacter.length() > 0\r
+ if (row.annotations[j].displayCharacter!=null\r
+ && row.annotations[j].displayCharacter.length() > 0\r
&& !row.annotations[j].displayCharacter.equals(" "))\r
{\r
text.append(comma + row.annotations[j].displayCharacter);\r
\r
if (refSeq != null)\r
{\r
- System.out.println(refSeq.getName()+" "+refSeqIndex);\r
annotation.createSequenceMapping(refSeq, refSeqIndex, false);\r
annotation.adjustForAlignment();\r
refSeq.addAlignmentAnnotation(annotation);\r