+ AlignmentAnnotation[] annots = viewport.getAlignment()
+ .getAlignmentAnnotation();
+ for (AlignmentAnnotation annot : annots)
+ {
+ if ("RF".equals(annot.label)
+ || annot.label.contains("Reference"))
+ {
+ seq.mapToReference(annot);
+ break;
+ }
+ }