annot[k]).charAt(0), 0f);
}
- AlignmentAnnotation align = new AlignmentAnnotation("Sec. str.",
- current.getID(), ann);
+ AlignmentAnnotation align = new AlignmentAnnotation(
+ "Secondary Structure",
+ current.getID().trim().length() > 0 ? "Secondary Structure for "
+ + current.getID()
+ : "", ann);
seqs[i].addAlignmentAnnotation(align);
seqs[i].setRNA(result.get(i));